<!-- MiltonsGauges Def -->
	
	<Animation name="Bearcat_Supercharger" guid="198c6472-010e-4ba6-97b4-8cae59d3b3e6" length="50" type="Sim" typeParam2="Bearcat_Supercharger"   typeParam="AutoPlay" />	
	<Animation name="bearcat_tank_select" guid="c446b325-6832-4f42-8131-9c194952790e" length="100" type="Sim" typeParam2="bearcat_tank_select"   typeParam="AutoPlay" />	
	<Animation name="inverter" 			guid="E795AD66-6634-42C7-BEB9-AC9C8DED1E25" length="50" type="Sim" 	typeParam2="inverter" 		typeParam="AutoPlay"/>
	<Animation name="inverter_l" 		guid="B54B8134-C3E0-4EDA-A80A-9A3DA19CC74E" length="50" type="Sim" 	typeParam2="inverter_l" 	typeParam="AutoPlay"/>
	<Animation name="inverter_r" 		guid="A755D12F-4AEE-44C5-8D00-30C7DFC6C9F7" length="50" type="Sim" 	typeParam2="inverter_r" 	typeParam="AutoPlay"/>
	<Animation name="lever_blower0" 	guid="D2D33067-44DF-49DC-A4EC-4D8641D58173" length="100" type="Sim" typeParam2="lever_blower0" 	typeParam="AutoPlay"/>
	<Animation name="lever_blower1" 	guid="E474134E-86A1-4E2B-B619-2D6418655A0F" length="100" type="Sim" typeParam2="lever_blower1" 	typeParam="AutoPlay"/>
	<Animation name="lever_oil_flaps0" 	guid="B357C556-3464-4009-89B3-8589DB5C94E3" length="50" type="Sim" typeParam2="lever_oil_flaps0" typeParam="AutoPlay"/>
	<Animation name="flap_oil_flaps0" 	guid="9B38EF97-3748-4B66-9F18-708B213C7A57" length="100" type="Sim" typeParam2="flap_oil_flaps0" typeParam="AutoPlay"/>
	<Animation name="flap_oil_flaps1" 	guid="635E2D93-989B-45AA-8F2D-FE4332505507" length="100" type="Sim" typeParam2="flap_oil_flaps1" typeParam="AutoPlay"/>	
	<Animation name="lever_oil_flaps1" 	guid="171E52DD-B15B-4086-A58C-26FD6C898732" length="50" type="Sim" typeParam2="lever_oil_flaps1" typeParam="AutoPlay"/>
    <Animation name="lever_speed_brake_alternate" guid="ccc0e63e-e0ee-4549-a317-058e202435b8" length="100" type="Sim" typeParam2="lever_speed_brake_alternate" typeParam="AutoPlay" />
	<Animation name="oil_dilution_l" 	guid="7E0C1C04-7DC1-4C6F-AF48-A53B96625438" length="50" type="Sim" 	typeParam2="oil_dilution_l" typeParam="AutoPlay"/>
	<Animation name="oil_dilution_r" 	guid="2EC7A21D-56CB-49D8-8980-4D61758F8328" length="50" type="Sim" 	typeParam2="oil_dilution_r" typeParam="AutoPlay"/>	
	<Animation name="signal_sw" 		guid="F95AD33F-4EF3-427A-8C9C-D488E12F34EE" length="50" type="Sim" 	typeParam2="signal_sw" 		typeParam="AutoPlay"/>
	<Animation name="signal_alarm" 		guid="D388DF06-B035-4945-B5D7-F6F1B4136C3D" length="50" type="Sim" 	typeParam2="signal_alarm" 	typeParam="AutoPlay"/>	
	<Animation name="switch_guns_outbrd" guid="d8557d41-8b3d-430e-91e5-7996b09db07e" length="50" type="Sim" typeParam2="switch_guns_outbrd"   typeParam="AutoPlay" />
	<Animation name="switch_guns_inbrd" guid="51c485df-2dd6-42e9-a8ef-90f4b67a75dc" length="50" type="Sim" typeParam2="switch_guns_inbrd"   typeParam="AutoPlay" />
	<Animation name="switch_bomb_left" 	guid="c5609e23-89e8-4a88-987b-fb64f4cc6670" length="50" type="Sim" typeParam2="switch_bomb_left"   typeParam="AutoPlay" />
	<Animation name="switch_bomb_right" guid="c276cafa-4679-49f6-ae82-87b748f3cbf1" length="50" type="Sim" typeParam2="switch_bomb_right"   typeParam="AutoPlay" />
	<Animation name="switch_drop_tank" 	guid="3ffc6442-fb41-41b4-a984-7a613a96c1bb" length="50" type="Sim" typeParam2="switch_drop_tank"   typeParam="AutoPlay" />
	<Animation name="switch_nose_tail" 	guid="0d43dd0a-9f24-4d06-9cb9-e237a4641ca4" length="50" type="Sim" typeParam2="switch_nose_tail"   typeParam="AutoPlay" />
	<Animation name="switch_bomb_rocket_sel" guid="4413ee7d-8dfa-4c78-a686-85564e7ca32c" length="50" type="Sim" typeParam2="switch_bomb_rocket_sel"   typeParam="AutoPlay" />
	<Animation name="switch_salvo" 		guid="a15b8cbb-7767-4379-88fe-a28a8b83640c" length="50" type="Sim" typeParam2="switch_salvo"   typeParam="AutoPlay" />	
	<Animation name="switch_rocket_sel" guid="f959b654-b770-4cc6-a487-a3019070d38f" length="50" type="Sim" typeParam2="switch_rocket_sel"   typeParam="AutoPlay" />	
	<Animation name="switch_fire_guns" 	guid="3f290abf-3ac4-4dfd-9880-2ae7e842d26a" length="50" type="Sim" typeParam2="switch_fire_guns"   typeParam="AutoPlay" />
	<Animation name="switch_dropbomb" 	guid="9fb2c38c-b7f2-4546-83b8-b1f3e1756316" length="50" type="Sim" typeParam2="switch_dropbomb"   typeParam="AutoPlay" />
	<Animation name="inertia_switch" 	guid="24235209-1b62-4f84-a72e-bbc1234e22ab" length="50" type="Sim" 	typeParam2="inertia_switch" 		typeParam="AutoPlay"/>
	<Animation name="mesh_switch" 		guid="57aeb45c-3678-4236-b5ba-f88b0da6d3be" length="50" type="Sim" 	typeParam2="mesh_switch" 		typeParam="AutoPlay"/>
	<Animation name="master_contactor" 	guid="6e3495b9-ae7a-4112-a3b0-460383e0ea89" length="50" type="Sim" 	typeParam2="master_contactor" 		typeParam="AutoPlay"/>
	<Animation name="havoc_left_fuel_valve" guid="02ab3e89-7b4c-4812-be32-a13a4aaae187" length="50" type="Sim" 	typeParam2="havoc_left_fuel_valve" 		typeParam="AutoPlay"/>	
	<Animation name="havoc_right_fuel_valve" guid="20c73cfc-cced-4d12-90dc-d5499e2915b5" length="50" type="Sim" typeParam2="havoc_right_fuel_valve"	typeParam="AutoPlay"/>
	<Animation name="havoc_left_crossfeed" 	guid="2737f4ce-65e7-459d-865e-fd01504825c8" length="50" type="Sim" 	typeParam2="havoc_left_crossfeed" 		typeParam="AutoPlay"/>
	<Animation name="havoc_right_crossfeed" guid="f3c1780a-c1aa-47ff-9219-da45134a4137" length="50" type="Sim" 	typeParam2="havoc_right_crossfeed" 		typeParam="AutoPlay"/>
	<Animation name="bombay_lever" 			guid="af057285-9c62-4d13-8d6d-fd2ccb4381b4" length="50" type="Sim" 	typeParam2="bombay_lever" 		typeParam="AutoPlay"/>
	<Animation name="gun_animation_upper" guid="5a6167cb-22cc-4cc4-9972-f399b3896066" length="50" type="Sim" 	typeParam2="gun_animation_upper" 		typeParam="AutoPlay"/>
	<Animation name="gun_animation_lower" guid="40559475-42cd-4e9d-8009-10776f3eb2dd" length="50" type="Sim" 	typeParam2="gun_animation_lower" 		typeParam="AutoPlay"/>
	<Animation name="gun_animation_turret" guid="35dad1ff-5c47-48de-a977-f8da67184fba" length="1000" type="Sim" 	typeParam2="gun_animation_turret"		typeParam="AutoPlay"/>
	<Animation name="door_cargo_BB_left" guid="86390999-fee7-4cb8-867e-9c3a35a8c74f" length="50" type="Sim" 	typeParam2="door_cargo_BB_left" 		typeParam="AutoPlay"/>
	<Animation name="door_cargo_BB_right" guid="0a7da8a0-86fe-43ce-9a44-31520335e799" length="50" type="Sim" 	typeParam2="door_cargo_BB_right" 		typeParam="AutoPlay"/>
	<Animation name="door_cargo_BBopen_10" guid="e3c3b7af-bcbf-4593-b1e3-3c155e91730b" length="50" type="Sim" 	typeParam2="door_cargo_BBopen_10" 		typeParam="AutoPlay"/>
	<Animation name="door_cargo_BBopen_15" guid="4aba3a1e-5746-42e5-8999-d10a4de209eb" length="50" type="Sim" 	typeParam2="door_cargo_BBopen_15" 		typeParam="AutoPlay"/>
	<Animation name="havoc_curtain" 	guid="50661cbd-dd44-4da4-8424-930676fa7dcf" length="50" type="Sim" 	typeParam2="havoc_curtain" 		typeParam="AutoPlay"/>	
	<Animation name="groundflaps" 		guid="45b9fc8c-913c-4389-b54d-35b16c242337" length="100" type="Sim" 	typeParam2="groundflaps" 		typeParam="AutoPlay"/>		
	<Animation name="sw_wing_fence" 	guid="5a206729-92f2-4153-acd9-fff43bcecce1" length="50" type="Sim" 		typeParam2="sw_wing_fence" 		typeParam="AutoPlay"/>
	<Animation name="sw_door_2" 		guid="58e25687-af06-4931-93a9-64a880a0ce12" length="50" type="Sim" 		typeParam2="sw_door_2" 		typeParam="AutoPlay"/>
	<Animation name="sw_door_3" 		guid="1c7cdefc-d838-440e-b5b5-2ffda9f5dd39" length="50" type="Sim" 		typeParam2="sw_door_3" 		typeParam="AutoPlay"/>
	<Animation name="sw_door_all" 		guid="c55c0539-0dd7-4a1f-b8a8-8a933f0407c4" length="50" type="Sim" 		typeParam2="sw_door_all" 		typeParam="AutoPlay"/>
	<Animation name="switch_firetest" 	guid="67fd1912-ae0f-47eb-b2d8-70059a71eda7" length="50" type="Sim" 		typeParam2="switch_firetest" 		typeParam="AutoPlay"/>	
	<Animation name="vis_sw_genoff0" 	guid="377532fe-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="vis_sw_genoff0" 		typeParam="AutoPlay"/>	
	<Animation name="vis_sw_genon0" 	guid="37752d90-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="vis_sw_genon0" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_genoff1" 	guid="37752aac-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="vis_sw_genoff1" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_genon1" 	guid="c3797e9d-5d6f-4dc3-906c-956be78dfd53" length="50" type="Sim" 		typeParam2="vis_sw_genon1" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_master_bat_off"	guid="64060c04-8087-4a13-aa91-cfea9fc16190" length="50" type="Sim" 		typeParam2="vis_sw_master_bat_off" 		typeParam="AutoPlay"/>	
	<Animation name="vis_sw_master_bat_on" 	guid="0c300254-cb06-42ca-aac5-baad49209292" length="50" type="Sim" 		typeParam2="vis_sw_master_bat_on" 		typeParam="AutoPlay"/>
	<Animation name="vis_Sw_Avionics_MstrOff" 	guid="c97dd1e6-2fa0-46c2-aad8-b9673cffb75b" length="50" type="Sim" 		typeParam2="vis_Sw_Avionics_MstrOff" 		typeParam="AutoPlay"/>
	<Animation name="vis_Sw_Avionics_MstrOn" 	guid="bf0bbb47-e5e1-4630-8763-e55a4808fd4a" length="50" type="Sim" 		typeParam2="vis_Sw_Avionics_MstrOn" 		typeParam="AutoPlay"/>	
	<Animation name="vis_sw_NAV_GPSoff" 	guid="3dfbc0b5-4d9f-4b1f-b429-0bba66056714" length="50" type="Sim" 		typeParam2="vis_sw_NAV_GPSoff" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_NAV_GPSon" 	guid="76431233-2b57-4dd5-bea8-699271c83c69" length="50" type="Sim" 		typeParam2="vis_sw_NAV_GPSon" 		typeParam="AutoPlay"/>
	<Animation name="vis_switch_autofeatheroff" 	guid="02399e09-175c-4d22-ab3b-96d43af8c374" length="50" type="Sim" 		typeParam2="vis_switch_autofeatheroff" 		typeParam="AutoPlay"/>
	<Animation name="vis_switch_autofeatheron" 	guid="59ccf794-8e7d-4193-95e8-f7d660651f93" length="50" type="Sim" 		typeParam2="vis_switch_autofeatheron" 		typeParam="AutoPlay"/>	
	<Animation name="vis_sw_starteroff0" 	guid="e6b8df0b-d557-4e33-a610-41fe832e728d" length="50" type="Sim" 		typeParam2="vis_sw_starteroff0" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_starteron0" 	guid="fb123935-0886-432e-ac8a-3ddefaf14f4e" length="50" type="Sim" 		typeParam2="vis_sw_starteron0" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_starteroff1" 	guid="4378fda8-fdbb-4a19-999f-915b31c34c4f" length="50" type="Sim" 		typeParam2="vis_sw_starteroff1" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_starteron1" 	guid="2d0e20f0-39e5-4416-bf82-aaf7e140d6a6" length="50" type="Sim" 		typeParam2="vis_sw_starteron1" 		typeParam="AutoPlay"/>	
	<Animation name="vis_sw_fuel_pumpoff0" 	guid="0c3f864f-3ad0-4089-8de6-7d46f5b6c7c7" length="50" type="Sim" 		typeParam2="vis_sw_fuel_pumpoff0" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_fuel_pumpon0" 	guid="a1fde54f-042b-47ad-937d-d0e0a4f2a610" length="50" type="Sim" 		typeParam2="vis_sw_fuel_pumpon0" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_fuel_pumpoff1" 	guid="970400aa-fc2d-40b9-96c9-084040fb6494" length="50" type="Sim" 		typeParam2="vis_sw_fuel_pumpoff1" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_fuel_pumpon1" 	guid="11bdbff3-ebc7-4cb7-b61e-fb21f8233ad1" length="50" type="Sim" 		typeParam2="vis_sw_fuel_pumpon1" 		typeParam="AutoPlay"/>	
	<Animation name="vis_sw_inertsepoff" 	guid="550a21d5-25dc-412f-b777-2cd2739392c0" length="50" type="Sim" 		typeParam2="vis_sw_inertsepoff" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_inertsepon" 	guid="0ca62f98-41af-4d27-8e1d-b45115ad86ee" length="50" type="Sim" 		typeParam2="vis_sw_inertsepon" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_pitot_heatoff" 	guid="0a375cf4-eff3-4ced-89c4-88eda416690f" length="50" type="Sim" 		typeParam2="vis_sw_pitot_heatoff" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_pitot_heaton" 	guid="cc7a76d2-238e-4b16-b6be-c4dfe0a92524" length="50" type="Sim" 		typeParam2="vis_sw_pitot_heaton" 		typeParam="AutoPlay"/>	
	<Animation name="vis_sw_antiice_structoff" 	guid="e93129f0-2c9c-4c3b-9d20-4b0766fbef36" length="50" type="Sim" 		typeParam2="vis_sw_antiice_structoff" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_antiice_structon" 	guid="3e9900a3-7fd0-4a1e-981f-9e3e2b357d54" length="50" type="Sim" 		typeParam2="vis_sw_antiice_structon" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_antiicepropoff" 	guid="4a6366ec-b6bf-46e3-a341-b7c6e9f637e2" length="50" type="Sim" 		typeParam2="vis_sw_antiicepropoff" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_antiicepropon" 	guid="d55e6fc6-34b2-474c-a63a-d43e2f3ea0af" length="50" type="Sim" 		typeParam2="vis_sw_antiicepropon" 		typeParam="AutoPlay"/>	
	<Animation name="vis_sw_cabin_lightoff" 	guid="51cfcdeb-5938-4596-bd4b-696f980f1e92" length="50" type="Sim" 		typeParam2="vis_sw_cabin_lightoff" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_cabin_lighton" 	guid="c412cf7b-7ec6-4086-a65a-042a7615e218" length="50" type="Sim" 		typeParam2="vis_sw_cabin_lighton" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_panel_lightoff" 	guid="98e982c3-ddf5-4371-92d8-d42136725ad3" length="50" type="Sim" 		typeParam2="vis_sw_panel_lightoff" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_panel_lighton" 	guid="3449e95a-e16e-4822-a172-74da0eedbbbe" length="50" type="Sim" 		typeParam2="vis_sw_panel_lighton" 		typeParam="AutoPlay"/>	
	<Animation name="vis_sw_recog_lightoff" 	guid="063d6de8-a7bf-4c56-a805-55447e32da64" length="50" type="Sim" 		typeParam2="vis_sw_recog_lightoff" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_recog_lighton" 	guid="ca656754-a5cb-444e-af9f-1321f56ad011" length="50" type="Sim" 		typeParam2="vis_sw_recog_lighton" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_landing_lightoff" 	guid="75bae0eb-d9b3-42c7-9624-800cf48c7d03" length="50" type="Sim" 		typeParam2="vis_sw_landing_lightoff" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_landing_lighton" 	guid="7762f59c-465f-4656-8130-ce3cc45cca32" length="50" type="Sim" 		typeParam2="vis_sw_landing_lighton" 		typeParam="AutoPlay"/>	
	<Animation name="vis_sw_beacon_lightoff" 	guid="64418b47-a5d1-48c6-94f9-645c136b3505" length="50" type="Sim" 		typeParam2="vis_sw_beacon_lightoff" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_beacon_lighton" 	guid="347f6d8c-dab6-45c4-9b80-1c55bc3276b3" length="50" type="Sim" 		typeParam2="vis_sw_beacon_lighton" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_nav_lightoff" 	guid="08aa01eb-b3b1-4d25-8794-cd209d636048" length="50" type="Sim" 		typeParam2="vis_sw_nav_lightoff" 		typeParam="AutoPlay"/>
	<Animation name="vis_sw_nav_lighton" 	guid="db7fb0e0-4bc4-4ca1-954d-52ea864f80a3" length="50" type="Sim" 		typeParam2="vis_sw_nav_lighton" 		typeParam="AutoPlay"/>	
	<Animation name="lever_fuel_selector_OLR" 	guid="4971bb66-d6fa-4aef-b6a8-770cb5784e70" length="50" type="Sim" 		typeParam2="lever_fuel_selector_OLR" 		typeParam="AutoPlay"/>
	<Animation name="lever_fuel_selector_LRO" 	guid="fb901aca-dd95-4c3c-81e4-206beeef6fa5" length="50" type="Sim" 		typeParam2="lever_fuel_selector_LRO" 		typeParam="AutoPlay"/>
	<Animation name="AutoFeathr_PropPitch0" 	guid="48955e38-5a62-441a-8e3d-5234cd18a0ce" length="50" type="Sim" 		typeParam2="AutoFeathr_PropPitch0" 		typeParam="AutoPlay"/>
	<Animation name="AutoFeathr_PropPitch1" 	guid="63588cbe-3f15-4d3b-9ca9-7820da4f6811" length="50" type="Sim" 		typeParam2="AutoFeathr_PropPitch1" 		typeParam="AutoPlay"/>	
	<Animation name="sw_drop_tanks" 			guid="37753d1c-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="sw_drop_tanks" 				typeParam="AutoPlay"/>
	<Animation name="Engine0_Supercharger" 		guid="377541f4-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="Engine0_Supercharger"   	typeParam="AutoPlay" />	
	<Animation name="Engine1_Supercharger" 		guid="37754456-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="Engine1_Supercharger"   	typeParam="AutoPlay" />	
	<Animation name="switch_guard_arm_master"   guid="377545dc-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_guard_arm_master" 	typeParam="AutoPlay" />	
	<Animation name="switch_guard_lower_nose"   guid="37754730-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_guard_lower_nose" 	typeParam="AutoPlay" />	
	<Animation name="switch_guard_upper_nose"   guid="377548ca-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_guard_upper_nose" 	typeParam="AutoPlay" />	
	<Animation name="switch_guard_wing_guns"    guid="37754a28-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_guard_wing_guns" 	typeParam="AutoPlay" />	
	<Animation name="switch_guard_turret_guns"  guid="37754f8c-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_guard_turret_guns" 	typeParam="AutoPlay" />	
	<Animation name="switch_guard_gen_field1"   guid="37755130-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_guard_gen_field1" 	typeParam="AutoPlay" />	
	<Animation name="switch_guard_gen_field2"   guid="37755374-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_guard_gen_field2" 	typeParam="AutoPlay" />	
	<Animation name="lever_gyro_aileron"   		guid="3775557c-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="lever_gyro_aileron" 		typeParam="AutoPlay" />	
	<Animation name="lever_gyro_elevator"   	guid="377556d0-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="lever_gyro_elevator" 		typeParam="AutoPlay" />	
	<Animation name="lever_gyro_rudder"   		guid="377557fc-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="lever_gyro_rudder" 			typeParam="AutoPlay" />	
	<Animation name="switch_lowernose"   		guid="3775593c-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_lowernose" 			typeParam="AutoPlay" />	
	<Animation name="switch_uppernose"   		guid="37755e46-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_uppernose" 			typeParam="AutoPlay" />	
	<Animation name="switch_wingguns"   		guid="37755ffe-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_wingguns" 			typeParam="AutoPlay" />	
	<Animation name="switch_turretguns"   		guid="37756134-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_turretguns" 			typeParam="AutoPlay" />	
	<Animation name="switch_gun_camera"   		guid="37756260-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_gun_camera" 			typeParam="AutoPlay" />	
	<Animation name="switch_flare_release"   	guid="3775638c-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_flare_release" 		typeParam="AutoPlay" />	
	<Animation name="switch_bomb1"   			guid="37756580-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_bomb1" 				typeParam="AutoPlay" />	
	<Animation name="switch_arm_master"   		guid="37756760-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_arm_master" 			typeParam="AutoPlay" />
	<Animation name="taxi_light"   				guid="37756abc-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="taxi_light" 				typeParam="AutoPlay" />
	<Animation name="f7f_dump_door1"   			guid="377579c6-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="f7f_dump_door1" 			typeParam="AutoPlay" />
	<Animation name="f7f_dump_door2"   			guid="37757b2e-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="f7f_dump_door2" 			typeParam="AutoPlay" />
	<Animation name="f7f_dump_door3"   			guid="37757c82-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="f7f_dump_door3" 			typeParam="AutoPlay" />
	<Animation name="f7f_dump_door4"   			guid="37757db8-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="f7f_dump_door4" 			typeParam="AutoPlay" />
	<Animation name="sw_fire_pull1"   			guid="37757ee4-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="sw_fire_pull1" 				typeParam="AutoPlay" />	
	<Animation name="sw_fire_pull2"   			guid="37758196-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="sw_fire_pull2" 				typeParam="AutoPlay" />	
	<Animation name="switch_fire_suppression"  	guid="377585e2-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_fire_suppression" 	typeParam="AutoPlay" />	
	<Animation name="switch_3winverter"  		guid="377589b6-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_3winverter" 			typeParam="AutoPlay" />
	<Animation name="switch_fuelqtytest"  		guid="37758bfa-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_fuelqtytest"			typeParam="AutoPlay" />
	<Animation name="switch_master_eng1"  		guid="37758da8-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_master_eng1"			typeParam="AutoPlay" />
	<Animation name="switch_master_eng2"  		guid="3775914a-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="switch_master_eng2"			typeParam="AutoPlay" />
	<Animation name="flagpivot"  				guid="377592a8-e5f3-11e7-80c1-9a214cf093ae" length="360" type="Sim" 	typeParam2="flagpivot"					typeParam="AutoPlay" />
	<Animation name="tick18_50"  				guid="37759870-e5f3-11e7-80c1-9a214cf093ae" length="50" type="Sim" 		typeParam2="tick18_50"					typeParam="AutoPlay" />
	<Animation name="tick18_70"  				guid="377593f2-e5f3-11e7-80c1-9a214cf093ae" length="70" type="Sim" 		typeParam2="tick18_70"					typeParam="AutoPlay" />
	<Animation name="tick18_200"  				guid="37759654-e5f3-11e7-80c1-9a214cf093ae" length="200" type="Sim" 	typeParam2="tick18_200"					typeParam="AutoPlay" />
	<Animation name="tick18_100"  				guid="377599ce-e5f3-11e7-80c1-9a214cf093ae" length="100" type="Sim" 	typeParam2="tick18_100"					typeParam="AutoPlay" />
	<Animation name="mpl_flap" 					guid="37759b0e-e5f3-11e7-80c1-9a214cf093ae" length="100" type="Sim" 	typeParam2="mpl_flap" 					typeParam="AutoPlay" />
	<Animation name="aimastangle" 				guid="3775a0ea-e5f3-11e7-80c1-9a214cf093ae" length="100" type="Sim" 	typeParam2="aimastangle" 				typeParam="AutoPlay" />

	<!-- end Miltons Gauges Def -->

    <AnimationGroup name="GroupTests" guid="0xB331C7EF,0xE2BA4276,0x84C433B2,0xBA9781B2">
        <AnimationRef guid="40A98760-2FCB-4422-A469-7001DBAAB766"/>
        <AnimationRef guid="23FBBCC2-C861-41b4-90D2-051AC1BCA338"/>
    </AnimationGroup>

	
		<!-- Miltons Animation Group -->
	<AnimationGroup name="MiltonsGauges" guid="0xf7e4e8f5,0x9818ddbe,0x8536d4fa,0xcb0e3086">
        <AnimationRef guid="7E0C1C04-7DC1-4C6F-AF48-A53B96625438"/>
        <AnimationRef guid="2EC7A21D-56CB-49D8-8980-4D61758F8328"/>
        <AnimationRef guid="E795AD66-6634-42C7-BEB9-AC9C8DED1E25"/>	
        <AnimationRef guid="B54B8134-C3E0-4EDA-A80A-9A3DA19CC74E"/>
        <AnimationRef guid="A755D12F-4AEE-44C5-8D00-30C7DFC6C9F7"/>
        <AnimationRef guid="F95AD33F-4EF3-427A-8C9C-D488E12F34EE"/>
        <AnimationRef guid="D388DF06-B035-4945-B5D7-F6F1B4136C3D"/>	
        <AnimationRef guid="D2D33067-44DF-49DC-A4EC-4D8641D58173"/>		
        <AnimationRef guid="E474134E-86A1-4E2B-B619-2D6418655A0F"/>
        <AnimationRef guid="B357C556-3464-4009-89B3-8589DB5C94E3"/>
        <AnimationRef guid="9B38EF97-3748-4B66-9F18-708B213C7A57"/>
        <AnimationRef guid="171E52DD-B15B-4086-A58C-26FD6C898732"/>	
        <AnimationRef guid="635E2D93-989B-45AA-8F2D-FE4332505507"/>
		<AnimationRef guid="d8557d41-8b3d-430e-91e5-7996b09db07e"/>
        <AnimationRef guid="51c485df-2dd6-42e9-a8ef-90f4b67a75dc"/>
        <AnimationRef guid="c5609e23-89e8-4a88-987b-fb64f4cc6670"/>	
        <AnimationRef guid="c276cafa-4679-49f6-ae82-87b748f3cbf1"/>
        <AnimationRef guid="3ffc6442-fb41-41b4-a984-7a613a96c1bb"/>
        <AnimationRef guid="0d43dd0a-9f24-4d06-9cb9-e237a4641ca4"/>
        <AnimationRef guid="4413ee7d-8dfa-4c78-a686-85564e7ca32c"/>	
        <AnimationRef guid="a15b8cbb-7767-4379-88fe-a28a8b83640c"/>		
        <AnimationRef guid="f959b654-b770-4cc6-a487-a3019070d38f"/>
        <AnimationRef guid="c446b325-6832-4f42-8131-9c194952790e"/>
        <AnimationRef guid="3f290abf-3ac4-4dfd-9880-2ae7e842d26a"/>
        <AnimationRef guid="9fb2c38c-b7f2-4546-83b8-b1f3e1756316"/>	
        <AnimationRef guid="198c6472-010e-4ba6-97b4-8cae59d3b3e6"/>
        <AnimationRef guid="ccc0e63e-e0ee-4549-a317-058e202435b8"/>	
        <AnimationRef guid="24235209-1b62-4f84-a72e-bbc1234e22ab"/>
		<AnimationRef guid="57aeb45c-3678-4236-b5ba-f88b0da6d3be"/>
		<AnimationRef guid="6e3495b9-ae7a-4112-a3b0-460383e0ea89"/>
		<AnimationRef guid="02ab3e89-7b4c-4812-be32-a13a4aaae187"/>	
        <AnimationRef guid="20c73cfc-cced-4d12-90dc-d5499e2915b5"/>
		<AnimationRef guid="2737f4ce-65e7-459d-865e-fd01504825c8"/>
		<AnimationRef guid="f3c1780a-c1aa-47ff-9219-da45134a4137"/>
		<AnimationRef guid="af057285-9c62-4d13-8d6d-fd2ccb4381b4"/>
        <AnimationRef guid="5a6167cb-22cc-4cc4-9972-f399b3896066"/>
		<AnimationRef guid="40559475-42cd-4e9d-8009-10776f3eb2dd"/>
		<AnimationRef guid="35dad1ff-5c47-48de-a977-f8da67184fba"/>
		<AnimationRef guid="86390999-fee7-4cb8-867e-9c3a35a8c74f"/>
        <AnimationRef guid="0a7da8a0-86fe-43ce-9a44-31520335e799"/>
		<AnimationRef guid="e3c3b7af-bcbf-4593-b1e3-3c155e91730b"/>
		<AnimationRef guid="4aba3a1e-5746-42e5-8999-d10a4de209eb"/>
		<AnimationRef guid="50661cbd-dd44-4da4-8424-930676fa7dcf"/>		
		<AnimationRef guid="45b9fc8c-913c-4389-b54d-35b16c242337"/>	
		<AnimationRef guid="5a206729-92f2-4153-acd9-fff43bcecce1"/>	
		<AnimationRef guid="58e25687-af06-4931-93a9-64a880a0ce12"/>		
		<AnimationRef guid="1c7cdefc-d838-440e-b5b5-2ffda9f5dd39"/>		
		<AnimationRef guid="c55c0539-0dd7-4a1f-b8a8-8a933f0407c4"/>	
		<AnimationRef guid="67fd1912-ae0f-47eb-b2d8-70059a71eda7"/>	
		<AnimationRef guid="377532fe-e5f3-11e7-80c1-9a214cf093ae"/>	
		<AnimationRef guid="37752d90-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37752aac-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="c3797e9d-5d6f-4dc3-906c-956be78dfd53"/>
		<AnimationRef guid="64060c04-8087-4a13-aa91-cfea9fc16190"/>	
		<AnimationRef guid="0c300254-cb06-42ca-aac5-baad49209292"/>
		<AnimationRef guid="c97dd1e6-2fa0-46c2-aad8-b9673cffb75b"/>
		<AnimationRef guid="bf0bbb47-e5e1-4630-8763-e55a4808fd4a"/>	
		<AnimationRef guid="3dfbc0b5-4d9f-4b1f-b429-0bba66056714"/>
		<AnimationRef guid="76431233-2b57-4dd5-bea8-699271c83c69"/>
		<AnimationRef guid="02399e09-175c-4d22-ab3b-96d43af8c374"/>
		<AnimationRef guid="59ccf794-8e7d-4193-95e8-f7d660651f93"/>	
		<AnimationRef guid="e6b8df0b-d557-4e33-a610-41fe832e728d"/>
		<AnimationRef guid="fb123935-0886-432e-ac8a-3ddefaf14f4e"/>
		<AnimationRef guid="4378fda8-fdbb-4a19-999f-915b31c34c4f"/>
		<AnimationRef guid="2d0e20f0-39e5-4416-bf82-aaf7e140d6a6"/>	
		<AnimationRef guid="0c3f864f-3ad0-4089-8de6-7d46f5b6c7c7"/>
		<AnimationRef guid="a1fde54f-042b-47ad-937d-d0e0a4f2a610"/>
		<AnimationRef guid="970400aa-fc2d-40b9-96c9-084040fb6494"/>
		<AnimationRef guid="11bdbff3-ebc7-4cb7-b61e-fb21f8233ad1"/>	
		<AnimationRef guid="550a21d5-25dc-412f-b777-2cd2739392c0"/>
		<AnimationRef guid="0ca62f98-41af-4d27-8e1d-b45115ad86ee"/>
		<AnimationRef guid="0a375cf4-eff3-4ced-89c4-88eda416690f"/>
		<AnimationRef guid="cc7a76d2-238e-4b16-b6be-c4dfe0a92524"/>	
		<AnimationRef guid="e93129f0-2c9c-4c3b-9d20-4b0766fbef36"/>
		<AnimationRef guid="3e9900a3-7fd0-4a1e-981f-9e3e2b357d54"/>
		<AnimationRef guid="4a6366ec-b6bf-46e3-a341-b7c6e9f637e2"/>
		<AnimationRef guid="d55e6fc6-34b2-474c-a63a-d43e2f3ea0af"/>	
		<AnimationRef guid="51cfcdeb-5938-4596-bd4b-696f980f1e92"/>
		<AnimationRef guid="c412cf7b-7ec6-4086-a65a-042a7615e218"/>
		<AnimationRef guid="98e982c3-ddf5-4371-92d8-d42136725ad3"/>
		<AnimationRef guid="3449e95a-e16e-4822-a172-74da0eedbbbe"/>	
		<AnimationRef guid="063d6de8-a7bf-4c56-a805-55447e32da64"/>
		<AnimationRef guid="ca656754-a5cb-444e-af9f-1321f56ad011"/>
		<AnimationRef guid="75bae0eb-d9b3-42c7-9624-800cf48c7d03"/>
		<AnimationRef guid="7762f59c-465f-4656-8130-ce3cc45cca32"/>	
		<AnimationRef guid="64418b47-a5d1-48c6-94f9-645c136b3505"/>
		<AnimationRef guid="347f6d8c-dab6-45c4-9b80-1c55bc3276b3"/>
		<AnimationRef guid="08aa01eb-b3b1-4d25-8794-cd209d636048"/>
		<AnimationRef guid="db7fb0e0-4bc4-4ca1-954d-52ea864f80a3"/>	
		<AnimationRef guid="4971bb66-d6fa-4aef-b6a8-770cb5784e70"/>
		<AnimationRef guid="fb901aca-dd95-4c3c-81e4-206beeef6fa5"/>
		<AnimationRef guid="48955e38-5a62-441a-8e3d-5234cd18a0ce"/>
		<AnimationRef guid="63588cbe-3f15-4d3b-9ca9-7820da4f6811"/>	
		<AnimationRef guid="37753d1c-e5f3-11e7-80c1-9a214cf093ae"/>	
		<AnimationRef guid="377541f4-e5f3-11e7-80c1-9a214cf093ae"/>	
		<AnimationRef guid="37754456-e5f3-11e7-80c1-9a214cf093ae"/>			
		<AnimationRef guid="377545dc-e5f3-11e7-80c1-9a214cf093ae"/>			
		<AnimationRef guid="37754730-e5f3-11e7-80c1-9a214cf093ae"/>	
		<AnimationRef guid="377548ca-e5f3-11e7-80c1-9a214cf093ae"/>	
		<AnimationRef guid="37754a28-e5f3-11e7-80c1-9a214cf093ae"/>	
		<AnimationRef guid="37754f8c-e5f3-11e7-80c1-9a214cf093ae"/>	
		<AnimationRef guid="37755130-e5f3-11e7-80c1-9a214cf093ae"/>	
		<AnimationRef guid="37755374-e5f3-11e7-80c1-9a214cf093ae"/>	
		<AnimationRef guid="3775557c-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="377556d0-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="377557fc-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="3775593c-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37755e46-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37755ffe-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37756134-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37756260-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="3775638c-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37756580-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37756760-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37756abc-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="377579c6-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37757b2e-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37757c82-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37757db8-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37757ee4-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37758196-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="377585e2-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="377589b6-e5f3-11e7-80c1-9a214cf093ae"/>		
		<AnimationRef guid="37758bfa-e5f3-11e7-80c1-9a214cf093ae"/>	
		<AnimationRef guid="37758da8-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="3775914a-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="377592a8-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="377593f2-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37759654-e5f3-11e7-80c1-9a214cf093ae"/>	
		<AnimationRef guid="37759870-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="377599ce-e5f3-11e7-80c1-9a214cf093ae"/>
		<AnimationRef guid="37759b0e-e5f3-11e7-80c1-9a214cf093ae"/>	
		<AnimationRef guid="3775a0ea-e5f3-11e7-80c1-9a214cf093ae"/>			
		
		
	</AnimationGroup>
	<!-- end Miltons Animation Group -->

  <!-- Miltons Custom Code -->
  
  <!-- DUMMY SWITCHES -->
  <PartInfo>
        <Name>oil_dilution_l</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:Dummy_Oil_Dilution_L, bool) 50 *
        </Code>
      <Lag>200</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Left Oil Dilution (INOP)</TooltipText>
            <CallbackCode>
(L:Dummy_Oil_Dilution_L, bool) ! (>L:Dummy_Oil_Dilution_L, bool)
			</CallbackCode>
        </MouseRect>
    </PartInfo>

  <PartInfo>
        <Name>oil_dilution_r</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:Dummy_Oil_Dilution_R, bool) 50 *
        </Code>
      <Lag>200</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Right Oil Dilution (INOP)</TooltipText>
            <CallbackCode>
(L:Dummy_Oil_Dilution_R, bool) ! (>L:Dummy_Oil_Dilution_R, bool)
			</CallbackCode>
        </MouseRect>
    </PartInfo>

  <PartInfo>
        <Name>inverter</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:Dummy_Inverter, bool) 50 *
        </Code>
      <Lag>400</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Inverter (INOP)</TooltipText>
            <CallbackCode>
(L:Dummy_Inverter, bool) ! (>L:Dummy_Inverter, bool)
			</CallbackCode>
        </MouseRect>
    </PartInfo>

  <PartInfo>
        <Name>inverter_l</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:Dummy_Inverter_L, bool) 50 *
        </Code>
      <Lag>400</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Left Inverter (INOP)</TooltipText>
            <CallbackCode>
(L:Dummy_Inverter_L, bool) ! (>L:Dummy_Inverter_L, bool)
			</CallbackCode>
        </MouseRect>
    </PartInfo>

  <PartInfo>
        <Name>inverter_r</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:Dummy_Inverter_R, bool) 50 *
        </Code>
      <Lag>400</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Right Inverter (INOP)</TooltipText>
            <CallbackCode>
(L:Dummy_Inverter_R, bool) ! (>L:Dummy_Inverter_R, bool)
			</CallbackCode>
        </MouseRect>
    </PartInfo>

  <PartInfo>
        <Name>signal_sw</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:Dummy_Signal, bool) 50 *
        </Code>
      <Lag>400</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Signal (INOP)</TooltipText>
            <CallbackCode>
(L:Dummy_Signal, bool) ! (>L:Dummy_Signal, bool)
			</CallbackCode>
        </MouseRect>
    </PartInfo>

  <PartInfo>
        <Name>signal_alarm</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:Dummy_alarm, bool) 50 *
        </Code>
      <Lag>400</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Signal Alarm (INOP)</TooltipText>
            <CallbackCode>
(L:Dummy_alarm, bool) ! (>L:Dummy_alarm, bool)
			</CallbackCode>
        </MouseRect>
    </PartInfo>


<!-- DUMMY LOW HIGH BLOWER LEVERS -->

 
  <PartInfo>
        <Name>lever_blower0</Name>
        <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:Dummy_Blowers_L, bool) 100 *
        </Code>
      <Lag>100</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Engine 1 Blower (INOP)</TooltipText>
            <CallbackCode>
(L:Dummy_Blowers_L, bool) ! (>L:Dummy_Blowers_L, bool) 
			</CallbackCode>
        </MouseRect>
    </PartInfo>
	
 
  <PartInfo>
        <Name>lever_blower1</Name>
        <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:Dummy_Blowers_R, bool) 100 *
        </Code>
      <Lag>100</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Engine 2 Blower (INOP)</TooltipText>
            <CallbackCode>
(L:Dummy_Blowers_R, bool) ! (>L:Dummy_Blowers_R, bool) 
			</CallbackCode>
        </MouseRect>
    </PartInfo>

<!-- OIL COOLER FLAPS BASED ON COWL FLAPS -->


  <PartInfo>
        <Name>lever_oil_flaps0</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:Dummy_Oilcoolers_L, bool) 100 *
        </Code>
      <Lag>200</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Engine 1 Oil Cooler Flap</TooltipText>
            <CallbackCode>
(L:Dummy_Oilcoolers_L, bool) ! (>L:Dummy_Oilcoolers_L, bool)
			</CallbackCode>
        </MouseRect>
    </PartInfo>
	
<!-- NEW - IF WANTING TO HAVE MOVING OIL COOLER FLAPS ON THE EXTERIOR USE THIS PART, ENGINE 1 -->
  <PartInfo>
        <Name>flap_oil_flaps0</Name>
        <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:Dummy_Oilcoolers_L, bool) 100 *
        </Code>
      <Lag>100</Lag>
      </Parameter>
    </Animation>
	    <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Engine 1 Oil Cooler Flap</TooltipText>
            <CallbackCode>
(L:Dummy_Oilcoolers_L, bool) ! (>L:Dummy_Oilcoolers_L, bool)
			</CallbackCode>
        </MouseRect>
   </PartInfo>
   

  <PartInfo>
        <Name>lever_oil_flaps1</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:Dummy_Oilcoolers_R, bool) 100 *
        </Code>
      <Lag>200</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Engine 2 Oil Cooler Flap</TooltipText>
            <CallbackCode>
(L:Dummy_Oilcoolers_R, bool) ! (>L:Dummy_Oilcoolers_R, bool)
			</CallbackCode>
        </MouseRect>
    </PartInfo>
	
<!-- NEW - IF WANTING TO HAVE MOVING OIL COOLER FLAPS ON THE EXTERIOR USE THIS PART, ENGINE 2 -->
  <PartInfo>
        <Name>flap_oil_flaps1</Name>
        <AnimLength>100</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:Dummy_Oilcoolers_R, bool) 100 *
        </Code>
      <Lag>100</Lag>
      </Parameter>
    </Animation>
   </PartInfo>
   
   
   <!-- Yoke Visibility Code Here -->
<PartInfo>
	<Name>yoke_vis</Name>
		<Visibility>
			<Parameter>
				<Code>
					(L:yoke_vis, bool) 0 ==
				</Code>
			</Parameter>
		</Visibility>
</PartInfo>

<PartInfo>
<Name>Yoke_Hiding_Control</Name>
	<MouseRect>
		<Cursor>Hand</Cursor>
			<TooltipText>Hide Yokes</TooltipText>
	<CallbackCode>
		(L:Yoke_Vis, bool) ! (>L:Yoke_Vis, bool)
	</CallbackCode>
	</MouseRect>
</PartInfo>

<!-- Pilot Visibility on Battery -->
<PartInfo>
<Name>Apilot</Name>
 <Visibility>
	<Parameter>
	<Code>
		(A:ELECTRICAL MASTER BATTERY, bool) if{ 1 } els{ 0 }
	</Code>
	</Parameter>
 </Visibility>
</PartInfo>

<PartInfo>
<Name>parked_vis</Name>
 <Visibility>
	<Parameter>
		<Code>(A:ELECTRICAL MASTER BATTERY, bool) 0 == (A:SIM ON GROUND, bool) 1 == (A:BRAKE PARKING POSITION, percent) 50 &gt; (A:SURFACE TYPE, enum) 2 != and and and 
		</Code>
	</Parameter>
 </Visibility>
</PartInfo>

<!-- Bomb Mounts ONLY-->
<PartInfo>
<Name>BOMB1_MOUNT</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_bomb1, number) 0 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<PartInfo>
<Name>BOMB2_MOUNT</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_bomb2, number) 0 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<!-- BOMBS Only -->

<!-- BOMB 1 (L to R) -->
<PartInfo>
<Name>BOMB1_BOMB</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_bomb1, number) 1 &gt;
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<!-- BOMB 2 (L to R) -->
<PartInfo>
<Name>BOMB2_BOMB</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_bomb2, number) 1 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>


<!-- ROCKETS (ALL Models) -->
<!-- Mounts ONLY-->
<PartInfo>
<Name>RCKT1_MOUNT</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock1, number) 0 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<PartInfo>
<Name>RCKT2_MOUNT</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock2, number) 0 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<PartInfo>
<Name>RCKT3_MOUNT</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock3, number) 0 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<PartInfo>
<Name>RCKT4_MOUNT</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock4, number) 0 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<PartInfo>
<Name>RCKT5_MOUNT</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock5, number) 0 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<PartInfo>
<Name>RCKT6_MOUNT</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock6, number) 0 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<PartInfo>
<Name>RCKT7_MOUNT</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock7, number) 0 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<PartInfo>
<Name>RCKT8_MOUNT</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock8, number) 0 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<!-- ROCKET 1 (L to R) (ALL) -->
<PartInfo>
<Name>RCKT1_ROCK</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock1, number) 1 &gt;
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<!-- ROCKET 2 (L to R) (ALL) -->
<PartInfo>
<Name>RCKT2_ROCK</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock2, number) 1 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<!-- ROCKET 3 (L to R) (ALL) -->
<PartInfo>
<Name>RCKT3_ROCK</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock3, number) 1 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<!-- ROCKET 4 (L to R) (ALL) -->
<PartInfo>
<Name>RCKT4_ROCK</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock4, number) 1 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<!-- ROCKET 5 (L to R) (ALL) -->
<PartInfo>
<Name>RCKT5_ROCK</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock5, number) 1 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<!-- ROCKET 6 (L to R) (ALL) -->
<PartInfo>
<Name>RCKT6_ROCK</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock6, number) 1 &gt;
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<!-- ROCKET 7 (L to R) (ALL) -->
<PartInfo>
<Name>RCKT7_ROCK</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock7, number) 1 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<!-- ROCKET 8 (L to R) (ALL) -->
<PartInfo>
<Name>RCKT8_ROCK</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_rock8, number) 1 &gt; 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

<!-- MUTUALLY EXCLUSIVE PARTS!! NOTE CODE CHANGE !! -->

<!-- BELLY TANK (ALL) -->
<PartInfo>
<Name>tanklongrange</Name>
  <Visibility>
     <Parameter>
        <Code>
(L:vis_bbexcl, number) 0 == 
        </Code>
     </Parameter>
  </Visibility>
</PartInfo>

	<!-- 50 Keyframes -->
	<PartInfo>
		<Name>switch_guns_outbrd</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
(L:Arm_Out_Cannon, bool) 50 *
				</Code> 
				<lag>400</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Toggle Outboard Cannon Arming</TooltipText>
			<CallbackCode>
(L:Arm_Out_Cannon, bool) ! (&gt;L:Arm_Out_Cannon, bool) 1 (&gt;L:snd_0, number)
			</CallbackCode>
		</MouseRect>
	</PartInfo>

	<!-- 50 Keyframes -->
	<PartInfo>
		<Name>switch_guns_inbrd</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
(L:Arm_In_Cannon, bool) 50 *
				</Code> 
				<lag>400</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Toggle Inboard Cannon Arming</TooltipText>
			<CallbackCode>
(L:Arm_In_Cannon, bool) ! (&gt;L:Arm_In_Cannon, bool) 1 (&gt;L:snd_0, number)
			</CallbackCode>
		</MouseRect>
	</PartInfo>

	<!-- 50 Keyframes -->
	<PartInfo>
		<Name>switch_bomb_left</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
(L:Arm_L_Bomb, bool) 50 *
				</Code> 
				<lag>400</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Toggle Port Bomb Arming</TooltipText>
			<CallbackCode>
(L:Arm_L_Bomb, bool) ! (&gt;L:Arm_L_Bomb, bool) 1 (&gt;L:snd_0, number)
			</CallbackCode>
		</MouseRect>
	</PartInfo>

	<!-- 50 Keyframes -->
	<PartInfo>
		<Name>switch_bomb_right</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
(L:Arm_R_Bomb, bool) 50 *
				</Code> 
				<lag>400</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Toggle Starboard Bomb Arming</TooltipText>
			<CallbackCode>
(L:Arm_R_Bomb, bool) ! (&gt;L:Arm_R_Bomb, bool) 1 (&gt;L:snd_0, number)
			</CallbackCode>
		</MouseRect>
	</PartInfo>

	<!-- 50 Keyframes -->
	<PartInfo>
		<Name>switch_drop_tank</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
(L:Arm_Drop_Tank, bool) 50 *
				</Code> 
				<lag>400</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Toggle Drop Tank Arming</TooltipText>
			<CallbackCode>
(L:Arm_Drop_Tank, bool) ! (&gt;L:Arm_Drop_Tank, bool) 1 (&gt;L:snd_0, number)
			</CallbackCode>
		</MouseRect>
	</PartInfo>

	<!-- 50 Keyframes -->
	<PartInfo>
		<Name>switch_nose_tail</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
(L:Arm_Nose_Tail, bool) 50 *
				</Code> 
				<lag>400</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>INOP - Arm Nose / Tail Fuse</TooltipText>
			<CallbackCode>
(L:Arm_Nose_Tail, bool) ! (&gt;L:Arm_Nose_Tail, bool) 1 (&gt;L:snd_0, number)
			</CallbackCode>
		</MouseRect>
	</PartInfo>

	<!-- 50 Keyframes -->
	<PartInfo>
		<Name>switch_bomb_rocket_sel</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
(L:Arm_Bomb_Rocket, bool) 50 *
				</Code> 
				<lag>400</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Select Bomb/Drop Tank, or Rocket Arming</TooltipText>
			<CallbackCode>
(L:Arm_Bomb_Rocket, bool) ! (&gt;L:Arm_Bomb_Rocket, bool) 1 (&gt;L:snd_0, number)
			</CallbackCode>
		</MouseRect>
	</PartInfo>
	
	<!-- 50 Keyframes -->
	<PartInfo>
		<Name>switch_salvo</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
(L:Salvo_Knob, bool) 50 *
				</Code> 
				<lag>75</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Salvo Bombs/Tank or Rockets (NOT Recommended)</TooltipText>
			<CallbackCode>
(M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:Salvo_Knob, bool) 1 (&gt;L:Salvo_Cmd, bool) 1 (&gt;L:snd_4, number) } 
(M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:Salvo_Knob, bool) 1 (&gt;L:snd_4, number) }
			</CallbackCode>
		</MouseRect>
	</PartInfo>
	
	<!-- 50 Keyframes -->
	<PartInfo>
		<Name>switch_rocket_sel</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
(L:Rocket_Select, number) 16.66667 *
				</Code> 
				<lag>400</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle+RightSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>L/R Click - Rocket(s) Selected = %((L:Rocket_Select, number))%{case}%{:0}Left Outb'd%{:1}Right Inb'd%{:2}Right Outb'd or both Outb'ds%{:3}Left Inb'd or both Inb'ds%{end}</TooltipText>
			<CallbackCode>
(M:Event) 'LeftSingle' scmp 0 == if{ (L:Rocket_Select, number) 0 &gt; if{ 1 (&gt;L:snd_4, number) } (L:Rocket_Select, number) -- 0 max (&gt;L:Rocket_Select, number) } 
(M:Event) 'RightSingle' scmp 0 == if{ (L:Rocket_Select, number) 3 &lt;  if{ 1 (&gt;L:snd_4, number) } (L:Rocket_Select, number) ++ 3 min (&gt;L:Rocket_Select, number) }
			</CallbackCode>
		</MouseRect>
	</PartInfo>
	
	<!-- 50 Keyframes -->
	<PartInfo>
		<Name>bearcat_tank_select</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
50 50 50 25 25 25 25 25 25 0 10 (A:FUEL TANK SELECTOR 1, number) 9 min case
				</Code> 
				<lag>100</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle+RightSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>L/R Click - Tank Selected = %((A:FUEL TANK SELECTOR 1, number))%{case}%{:0}Off%{:1}All%{:6}Main%{:9}Center Drop%{end}</TooltipText>
			<CallbackCode>
(M:Event) 'LeftSingle' scmp 0 == if{ 6 6 6 0 0 0 0 0 0 0 10  (A:FUEL TANK SELECTOR 1, number) 9 min case (>K:FUEL_SELECTOR_SET) } 
(M:Event) 'RightSingle' scmp 0 == if{ 9 9 9 9 6 6 6 6 6 6 10  (A:FUEL TANK SELECTOR 1, number) 9 min case (>K:FUEL_SELECTOR_SET) } 
			</CallbackCode>
		</MouseRect>
	</PartInfo>
	
	<!-- 50 Keyframes -->
	<PartInfo>
		<Name>switch_fire_guns</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
(L:Wpn_Release_Gun, bool) 50 *
				</Code> 
				<lag>400</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Fire Cannons</TooltipText>
			<CallbackCode>
(M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:Wpn_Release_Gun, bool) 1 (&gt;L:snd_1, number) } 
(M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:Wpn_Release_Gun, bool) 1 (&gt;L:snd_1, number) }
			</CallbackCode>
		</MouseRect>
	</PartInfo>
	
		<!-- 50 Keyframes -->
		<!-- NOTE THIS WILL NOT RELEASE UNTIL INTEGRATED WITH WEAPON LOGIC -->
	<PartInfo>
		<Name>switch_dropbomb</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
(L:Wpn_Release_Bomb, bool) 50 *
				</Code> 
				<lag>100</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Drop / Fire Ordinance</TooltipText>
			<CallbackCode>
1 (&gt;L:Wpn_Release_Bomb, bool) 1 (&gt;L:snd_1, number)
			</CallbackCode>
		</MouseRect>
	</PartInfo>

	<!-- 50 Keyframes, 0 = Knob In -->
	<PartInfo>
		<Name>Bearcat_Supercharger</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
(A:RECIP ENG1 EMERGENCY BOOST ACTIVE, bool) 50 *
				</Code> 
				<lag>50</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Water Injection - %((A:RECIP ENG1 EMERGENCY BOOST ACTIVE, bool))%{if}ON%{else}OFF%{end}</TooltipText>
			<CallbackCode>
(>K:WAR_EMERGENCY_POWER) 1 (&gt;L:snd_4, number)
			</CallbackCode>
		</MouseRect>
	</PartInfo>

	<PartInfo>
        <Name>lever_speed_brake_alternate</Name>
        <AnimLength>100</AnimLength>
        <Animation>
            <Parameter>
                <Sim>
                    <Variable>SPOILERS HANDLE POSITION</Variable>
                    <Units>percent</Units>
                    <Scale>-1.0</Scale>
                    <Bias>100.0</Bias>
                </Sim>                
            </Parameter>
        </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <HelpID>HELPID_GAUGE_SPEED_BRAKE</HelpID>
            <TooltipID>TOOLTIPTEXT_SPEED_BRAKE</TooltipID>
            <MouseFlags>LeftSingle+LeftDrag+Wheel</MouseFlags>
            <CallbackDragging>
                <Variable>SPOILERS HANDLE POSITION</Variable>
                <Units>percent</Units>
                <Scale>163.84</Scale>
                <YScale>-163.84</YScale>
                <MinValue>0</MinValue>
                <MaxValue>16384</MaxValue>
                <EventID>SPOILERS_SET</EventID>
            </CallbackDragging>
        </MouseRect>
    </PartInfo>	
	
  <!-- Twin Engine Superchargers - Engine 0 -->
	<!-- 50 Keyframes, 0 = Knob In -->

	<PartInfo>
		<Name>Engine0_Supercharger</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
(A:RECIP ENG1 EMERGENCY BOOST ACTIVE, bool) 50 *
				</Code> 
				<lag>50</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Water Injection - %((A:RECIP ENG1 EMERGENCY BOOST ACTIVE, 

bool))%{if}ON%{else}OFF%{end}</TooltipText>
			<CallbackCode>
(>K:WAR_EMERGENCY_POWER) 1 (&gt;L:snd_4, number)
			</CallbackCode>
		</MouseRect>
	</PartInfo>

  <!-- Twin Engine Superchargers - Engine 1 -->
	<PartInfo>
		<Name>Engine1_Supercharger</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
(A:RECIP ENG2 EMERGENCY BOOST ACTIVE, bool) 50 *
				</Code> 
				<lag>50</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Water Injection - %((A:RECIP ENG2 EMERGENCY BOOST ACTIVE, 

bool))%{if}ON%{else}OFF%{end}</TooltipText>
			<CallbackCode>
(>K:WAR_EMERGENCY_POWER) 2 (&gt;L:snd_5, number)
			</CallbackCode>
		</MouseRect>
	</PartInfo>	
	
 <!-- exterior and interior lights incorporating electrical power  -->
<PartInfo>
    <Name>elec_light_panel_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT PANEL,bool)
          (A:CIRCUIT GENERAL PANEL ON,bool)
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  
   <PartInfo>
    <Name>elec_light_strobe_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT STROBE,bool)
          (A:CIRCUIT GENERAL PANEL ON,bool)
          and
        </Code>
      </Parameter>
    </Visibility>
  </PartInfo>
  
  <PartInfo>
    <Name>elec_light_landing_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT LANDING,bool)
          (A:CIRCUIT GENERAL PANEL ON,bool)
          and
        </Code>
	  </Parameter>
    </Visibility>
  </PartInfo>
  
  <PartInfo>
    <Name>elec_light_taxi_vis</Name>
    <Visibility>
      <Parameter>
       <Code>
          (A:LIGHT TAXI,bool)
          (A:CIRCUIT GENERAL PANEL ON,bool)
          and
        </Code>
	   </Parameter>
    </Visibility>
  </PartInfo>
  
  <PartInfo>
    <Name>elec_light_beacon_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT BEACON,bool)
          (A:CIRCUIT GENERAL PANEL ON,bool)
          and
        </Code>
	  </Parameter>
    </Visibility>
  </PartInfo>
  
  <PartInfo>
    <Name>elec_light_nav_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT NAV,bool)
          (A:CIRCUIT GENERAL PANEL ON,bool)
          and
        </Code>
	  </Parameter>
    </Visibility>
  </PartInfo>
  
  <PartInfo>
    <Name>elec_light_logo_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT LOGO,bool)
          (A:CIRCUIT GENERAL PANEL ON,bool)
          and
        </Code>
	 </Parameter>
    </Visibility>
  </PartInfo>
  
  <PartInfo>
    <Name>elec_light_wing_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT WING,bool)
          (A:CIRCUIT GENERAL PANEL ON,bool)
          and
        </Code>
		</Parameter>
    </Visibility>
  </PartInfo>
  
  <PartInfo>
    <Name>elec_light_recog_vis</Name>
    <Visibility>
      <Parameter>
       <Code>
          (A:LIGHT RECOGNITION,bool)
          (A:CIRCUIT GENERAL PANEL ON,bool)
          and
        </Code> 
	  </Parameter>
    </Visibility>
  </PartInfo>
  
  <PartInfo>
    <Name>elec_light_cabin_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:LIGHT CABIN,bool)
          (A:CIRCUIT GENERAL PANEL ON,bool)
          and
        </Code>
	  </Parameter>
    </Visibility>
  </PartInfo>  
  <!-- end exterior and interior lights -->	
  
  <!-- A-20 HAVOC Custom Code -->

<!-- INERTIA SWITCH to be used with Romans Clipboard Only -->
<!-- 50 Frames, 0 = Up, 25 = Mid, 50 = Down --> 
<PartInfo>
	<Name>inertia_switch</Name>
	<AnimLength>50</AnimLength>
	       <Animation>
		<Parameter>
			<Code>
(L:Sw_Inertia, number) 1 == if{ 0 } els{ (L:Sw_Inertia, number) -1 == if{ 50 } els{ 25 } }
			</Code>			
		</Parameter>
	    </Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<TooltipText>Inertia - Left Click = Left On/Off, Right Click = Right 

On/Off</TooltipText>
		<MouseFlags>LeftSingle+RightSingle</MouseFlags>
		<CallbackCode>
(M:Event) 'LeftSingle' scmp 0 == if{ (L:Sw_Inertia, number) 0 == if{ 1 (>L:Sw_Inertia, number) } els{ 0 

(>L:Sw_Inertia, number) } } 
(M:Event) 'RightSingle' scmp 0 == if{ (L:Sw_Inertia, number) 0 == if{ -1 (>L:Sw_Inertia, number) } els{ 0 

(>L:Sw_Inertia, number) } } 
		</CallbackCode>
	</MouseRect>
</PartInfo>

<!-- MESH SWITCH to be used with Romans Clipboard Only  -->
<!-- 50 Frames, 0 = Up, 25 = Mid, 50 = Down --> 
<PartInfo>
	<Name>mesh_switch</Name>
	<AnimLength>50</AnimLength>
	    <Animation>
		<Parameter>
			<Code>
(L:Sw_Starter, number) 1 == if{ 0 } els{ (L:Sw_Starter, number) -1 == if{ 50 } els{ 25 } }
			</Code>			
		</Parameter>
	    </Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<TooltipText>Inertia Mesh - Left Click = Left On/Off, Right Click = Right 

On/Off</TooltipText>
		<MouseFlags>LeftSingle+RightSingle</MouseFlags>
		<CallbackCode>
(M:Event) 'LeftSingle' scmp 0 == if{ (L:Sw_Starter, number) 0 == if{ 1 (>L:Sw_Starter, number) } els{ 0 

(>L:Sw_Starter, number) } } 
(M:Event) 'RightSingle' scmp 0 == if{ (L:Sw_Starter, number) 0 == if{ -1 (>L:Sw_Starter, number) } els{ 0 

(>L:Sw_Starter, number) } } 
		</CallbackCode>
	</MouseRect>
</PartInfo>

<!-- MASTER CONTACTOR SWITCH / BATTERY to be used with Romans Clipboard Only  -->
<!-- 50 Frames, 0 = Up, 50 = Down --> 
<PartInfo>
	<Name>master_contactor</Name>
	<AnimLength>50</AnimLength>
	    <Animation>
		<Parameter>
			<Code>
				(L:master_contactor, bool) if{ 50 } els{ 0 }
			</Code>			
		</Parameter>
    	    </Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<TooltipText>Master Battery Contactor</TooltipText>
		<MouseFlags>LeftSingle</MouseFlags>
		<CallbackCode>
			(L:master_contactor, bool) ! (>L:master_contactor, bool)
		</CallbackCode>
	</MouseRect>
</PartInfo>

<!-- HAVOC LEFT FUEL VALVE to be used with Romans Clipboard Only  -->
<!-- 75 Frames, 0 =off/down, 25 = main/right, 50 = belly/up, 75 = aux/left --> 
<PartInfo>
	<Name>havoc_left_fuel_valve</Name>
	<AnimLength>75</AnimLength>
	    <Animation>
		<Parameter>
			<Code>(L:A20_L_FUEL, number) 25 *</Code>
			<Lag>100</Lag>
		</Parameter>
	    </Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<TooltipText>%Left engine feed by - %((L:A20_X_R2L, bool))%{if}%('( X feed 

)')%!s!%{else}%( '( left aux tank )'  '( belly tank )'  '( left main tank )'  '( NO OP )' 4 (L:A20_L_FUEL, 

number) case)%!s!%{end}%</TooltipText>
		<MouseFlags>LeftSingle+RightSingle+WheelUp+WheelDown</MouseFlags>
		<CallbackCode>
 (M:Event) 'WheelUp' scmp 0 == (M:Event) 'WheelDown' scmp 0 == || if{ 0 }
 (M:Event) 'LeftSingle' scmp 0 == if{ (L:A20_L_FUEL, number) ++ d 4 % (>L:A20_L_FUEL, number) } 
 (M:Event) 'RightSingle' scmp 0 == if{ (L:A20_L_FUEL, number) -- s1 -1 == if{ 3 } els{ l1 }  (>L:A20_L_FUEL, 

number) } 
		</CallbackCode>
	</MouseRect>
</PartInfo>

<!-- HAVOC RIGHT FUEL VALVE to be used with Romans Clipboard Only  -->
<!-- 75 Frames, 0 =off/down, 25 = main/right, 50 = bomb bay/up, 75 = aux/left --> 
<PartInfo>
	<Name>havoc_right_fuel_valve</Name>
	<AnimLength>75</AnimLength>
	    <Animation>
		<Parameter>
			<Code>(L:A20_R_FUEL, number) 25 *</Code>
			<Lag>100</Lag>
		</Parameter>
	    </Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<TooltipText>%Right engine feed by - %((L:A20_X_L2R, bool))%{if}%('( X feed 

)')%!s!%{else}%( '( right aux tank )'  '( bomb bay tanks )'  '( right main tank )'  '( NO OP )' 4 (L:A20_R_FUEL, 

number) case)%!s!%{end}%</TooltipText>
		<MouseFlags>LeftSingle+RightSingle+WheelUp+WheelDown</MouseFlags>
		<CallbackCode>
(M:Event) 'WheelUp' scmp 0 == (M:Event) 'WheelDown' scmp 0 == || if{ 0 } 
(M:Event) 'LeftSingle' scmp 0 == if{ (L:A20_R_FUEL, number) ++ d 4 % (>L:A20_R_FUEL, number) } 
(M:Event) 'RightSingle' scmp 0 == if{ (L:A20_R_FUEL, number) -- s1 -1 == if{ 3 } els{ l1 }  (>L:A20_R_FUEL, 

number) } 
		</CallbackCode>
	</MouseRect>
</PartInfo>

<!-- HAVOC LEFT CROSSFEED to be used with Romans Clipboard Only  -->
<!-- 50 Frames, 0 = Off/Left, 50 = On/Right --> 
<PartInfo>
	<Name>havoc_left_crossfeed</Name>
	<AnimLength>50</AnimLength>
	    <Animation>
		<Parameter>
			<Code>(L:A20_X_R2L, bool) if{ 50 } els{ 0 }</Code>
			<Lag>100</Lag>
		</Parameter>
	    </Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<TooltipText>%X Feed is %((L:A20_X_R2L, bool) !)%{if}%( '( off )' 

)%!s!%{else}%supplied by - %( '( right aux tank )'  '( bomb bay tanks )'  '( right main tank )'  '( NO OP )' 4 

(L:A20_R_FUEL, number) case)%!s!%{end}%</TooltipText>
		<MouseFlags>LeftSingle</MouseFlags>
		<CallbackCode>
(L:A20_X_R2L, bool) ! (>L:A20_X_R2L, bool)
		</CallbackCode>
	</MouseRect>
</PartInfo>

<!-- HAVOC RIGHT CROSSFEED to be used with Romans Clipboard Only  -->
<!-- 50 Frames, 0 = Off/Left, 50 = On/Right --> 
<PartInfo>
	<Name>havoc_right_crossfeed</Name>
	<AnimLength>50</AnimLength>
	    <Animation>
		<Parameter>
			<Code>(L:A20_X_L2R, bool) if{ 50 } els{ 0 }</Code>
			<Lag>100</Lag>
		</Parameter>
	    </Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<TooltipText>%X Feed is %((L:A20_X_L2R, bool) !)%{if}%( '( off )' 

)%!s!%{else}%supplied by - %( '( left aux tank )'  '( belly tank )'  '( left main tank )'  '( NO OP )' 4 

(L:A20_L_FUEL, number) case)%!s!%{end}%</TooltipText>
		<MouseFlags>LeftSingle</MouseFlags>
		<CallbackCode>
(L:A20_X_L2R, bool) ! (>L:A20_X_L2R, bool)
		</CallbackCode>
	</MouseRect>
</PartInfo>



 <!-- bombay lever, exit 2 -->
<!-- 50 frames  0 = closed, 25 = in transit, 50 = open -->
<PartInfo>
	<Name>bombay_lever</Name>
	<AnimLength>50</AnimLength>
	    <Animation>
		<Parameter>
			<Code>
				(A:EXIT OPEN:1, percent) 0 == if{ 0 } els{ (A:EXIT OPEN:1, 
percent) 100 == if{ 50 } els{  25 } }  
			</Code>			
		</Parameter>
	    </Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<TooltipText>"Bomb Bay Doors"</TooltipText>
		<MouseFlags>LeftSingle</MouseFlags>
		<CallbackCode>
			(A:EXIT OPEN:1, percent) 1 99 rng ! if{ (>K:TOGGLE_AIRCRAFT_EXIT) 

(&gt;K:SELECT_2) }
		</CallbackCode>
	</MouseRect>
</PartInfo>


<!-- GUN AND TURRET Animation Using Load Sheet Logic -->

<PartInfo>
    <Name>gun_animation_upper</Name>
    <AnimLength>1000</AnimLength>
	    <Animation>
        <Parameter>
            <Code>
                (L:Gun_Anim_Upper, number)
            </Code>
            <Lag>50</Lag>
        </Parameter>
	    </Animation>
</PartInfo>

<PartInfo>
    <Name>gun_animation_lower</Name>
    <AnimLength>100</AnimLength>
	    <Animation>
        <Parameter>
            <Code>
                (L:Gun_Anim_Lower, number)
            </Code>
            <Lag>50</Lag>
        </Parameter>
    	    </Animation>
</PartInfo>


<PartInfo>
    <Name>gun_animation_turret</Name>
    <AnimLength>1000</AnimLength>
	    <Animation>
        <Parameter>
            <Code>
				(A:AIRSPEED INDICATED, knots) 125 &gt;=			
             <!--    (L:Gun_Anim_Turret, number) -->
            </Code>
            <Lag>50</Lag>
        </Parameter>
	    </Animation>
</PartInfo>

<!-- TURRET Animation based on in-flight for FSX -->
	
	<PartInfo>
	<Name>animate_turret</Name>   
		<Visibility>
			<Parameter>
				<Code>
				(A:AIRSPEED INDICATED, knots) 125 &gt;=
				</Code>
			</Parameter> 
		</Visibility>
	</PartInfo>
	
    <PartInfo>
        <Name>noanimate_turret</Name>
		<Visibility>
			<Parameter>
				<Code>
				(A:AIRSPEED INDICATED, knots) 125 &lt;
				</Code>
			</Parameter> 
		</Visibility>
    </PartInfo>

<!-- BB Doors Conditional Animation -->
<PartInfo>
<Name>door_cargo_BB_left</Name>
    <AnimLength>100</AnimLength>
	    <Animation>
        <Parameter>
            <Code>
(L:vis_bbexcl, number) 2 == (L:vis_bbexcl, number) 1 == || if{ 0 } els{ (A:EXIT OPEN:1, percent) }
            </Code> 
        </Parameter>
	    </Animation>>
</PartInfo>

<PartInfo>
<Name>door_cargo_BB_right</Name>
    <AnimLength>100</AnimLength>
	    <Animation>
        <Parameter>
            <Code>
(L:vis_bbexcl, number) 2 == (L:vis_bbexcl, number) 1 == || if{ 0 } els{ (A:EXIT OPEN:1, percent) }
            </Code> 
        </Parameter>
	    </Animation>
</PartInfo>

<PartInfo>
<Name>door_cargo_BBopen_10</Name>
    <AnimLength>100</AnimLength>
	    <Animation>
        <Parameter>
            <Code>
(L:vis_bbexcl, number) 2 == (L:vis_bbexcl, number) 1 == || if{ 0 } els{ (A:EXIT OPEN:1, percent) }
            </Code> 
        </Parameter>
	    </Animation>
</PartInfo>

<PartInfo>
<Name>door_cargo_BBopen_15</Name>
    <AnimLength>100</AnimLength>
	    <Animation>
        <Parameter>
            <Code>
(L:vis_bbexcl, number) 2 == (L:vis_bbexcl, number) 1 == || if{ 0 } els{ (A:EXIT OPEN:1, percent) }
            </Code> 
        </Parameter>
	    </Animation>
</PartInfo>

<!-- Curtains Animation -->
<PartInfo>
	<Name>havoc_curtain</Name>
	<AnimLength>100</AnimLength>
	    <Animation>
		<Parameter>
			<Code>
				(L:Havoc_Curtain, number) 100 - abs
			</Code>
			<Lag>400</Lag>
		</Parameter>
	    </Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<TooltipText>"Canopy Curtain"</TooltipText>
		<MouseFlags>LeftSingle+LeftDrag+Wheel</MouseFlags>
		<CallbackCode>
			(M:Y) 0 max 100 min (&gt;L:Havoc_Curtain, number)
		</CallbackCode>
	</MouseRect>
</PartInfo>

<PartInfo>
    <Name>groundflaps</Name>
    <AnimLength>100</AnimLength>
	    <Animation>
        <Parameter>
            <Code>
                (A:FOLDING WING LEFT PERCENT, percent)
            </Code>            
        </Parameter>
    	    </Animation>
    <MouseRect>
        <Cursor>Hand</Cursor>
        <TooltipText>"CAUTION - Ground Only Flaps"</TooltipText>
        <MouseFlags>LeftSingle</MouseFlags>
        <CallbackCode>
            (&gt;K:TOGGLE_WING_FOLD)
        </CallbackCode>
    </MouseRect>
</PartInfo>

<!-- End of Animation Code -->

<!-- Start Visibility Code -->


<!-- OPTIONAL, PILOT CONTROLLED BY MASTER BATTERY SWITCH, NOT BATTERY ITSELF (ALL) SEE SPREADSHEET-->

<PartInfo>
<Name>Pilot</Name>
 <Visibility>
	<Parameter>
		<Code>
			(A:ELECTRICAL MASTER BATTERY, bool) if{ 1 } els{ 0 }
		</Code>
	</Parameter>
 </Visibility>
</PartInfo>

<!-- REAR GUNNER  -->
<PartInfo>
<Name>Pilot_gunner</Name>
 <Visibility>
	<Parameter>
		<Code>
			(A:ELECTRICAL MASTER BATTERY, bool) if{ 1 } els{ 0 }
		</Code>
	</Parameter>
 </Visibility>
</PartInfo>


<!-- BOMBARDIER (C ONLY) -->
<PartInfo>
<Name>PILOT_bombardier</Name>
 <Visibility>
	<Parameter>
		<Code>
			(A:ELECTRICAL MASTER BATTERY, bool) if{ 1 } els{ 0 }
		</Code>
	</Parameter>
 </Visibility>
</PartInfo>

<!-- RADAR OPERATOR (A1, A2) -->
<PartInfo>
<Name>Pilot_radaroperator</Name>
 <Visibility>
	<Parameter>
		<Code>
			(A:ELECTRICAL MASTER BATTERY, bool) if{ 1 } els{ 0 }
		</Code>
	</Parameter>
 </Visibility>
</PartInfo>



<!-- custom animations for A-20 Havoc Ends Here -->

<!-- XA-92A Custom Code Starts Here -->

<PartInfo>
  <Name>wing_vapour</Name> 
  <Visibility>
     <Parameter>
       <Code>(L:vapour,bool) if{ 1 } els{ 0 }</Code> 
     </Parameter>
  </Visibility>
</PartInfo>



<PartInfo>
  <Name>wing_fence</Name> 
  <Visibility>
     <Parameter>
       <Code>(L:fence,bool) if{ 1 } els{ 0 }</Code> 
     </Parameter>
  </Visibility>
</PartInfo>

  
  <PartInfo>
        <Name>sw_wing_fence</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:fence, bool) 50 *
        </Code>
      <Lag>400</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Wing Fences</TooltipText>
            <CallbackCode>
(L:fence, bool) ! (>L:fence, bool)
			</CallbackCode>
        </MouseRect>
    </PartInfo>
   
  <!-- Retardant Dump Door Custom Code -->
  <!-- Switches open door_2 and door_3  and toggles lights to which effects are attached -->

  <!-- THE SWITCHES -->
  <PartInfo>
        <Name>sw_door_2</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
	(L:door2, bool) 50 *
        </Code>
      <Lag>400</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Inner Doors</TooltipText>
	<CallbackCode>
		(L:door2, bool) ! (>L:door2, bool)
		4 (&gt;K:TOGGLE_AIRCRAFT_EXIT)
		(A:EXIT OPEN:3, percent) 0 ! if{ 2 (&gt;K:SMOKE_ON) } els{ 2 (&gt;K:SMOKE_OFF) }		
	</CallbackCode>
        </MouseRect>
    </PartInfo>

  <PartInfo>
        <Name>sw_door_3</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
	(L:door3, bool) 50 *
        </Code>
      <Lag>400</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Outer Doors</TooltipText>
	<CallbackCode>
		(L:door3, bool) ! (>L:door3, bool)
		3 (&gt;K:TOGGLE_AIRCRAFT_EXIT)
		(A:EXIT OPEN:2, percent) 0 ! if{ 1 (&gt;K:SMOKE_ON) } els{ 1 (&gt;K:SMOKE_OFF) }
	</CallbackCode>
        </MouseRect>
    </PartInfo>
	
	  <PartInfo>
        <Name>sw_emerg_drop_tanks</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
	(L:doorall, bool) 50 *
        </Code>
      <Lag>400</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Emerg All Doors</TooltipText>
	<CallbackCode>
		(L:doorall, bool) ! (>L:doorall, bool)
		4 (&gt;K:TOGGLE_AIRCRAFT_EXIT)
		(A:EXIT OPEN:3, percent) 0 ! if{ 2 (&gt;K:SMOKE_ON) } els{ 2 (&gt;K:SMOKE_OFF) }
		3 (&gt;K:TOGGLE_AIRCRAFT_EXIT)
		(A:EXIT OPEN:2, percent) 0 ! if{ 1 (&gt;K:SMOKE_ON) } els{ 1 (&gt;K:SMOKE_OFF) }
	</CallbackCode>
        </MouseRect>
    </PartInfo>
	
	  <PartInfo>
    <Name>switch_firetest</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:firetest, bool) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	  <TooltipText>Fire Test</TooltipText>
      <CallbackCode>
        (L:firetest, bool) ! (&gt;L:firetest, bool)
      </CallbackCode>
    </MouseRect>
  </PartInfo>
	
	<PartInfo>
    <Name>light_door14red_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:EXIT OPEN:3,percent) 1 &gt;
        </Code>
      </Parameter>
    </Visibility>
	</PartInfo>
  
  	<PartInfo>
    <Name>light_door23red_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:EXIT OPEN:2,percent) 1 &gt;
        </Code>
      </Parameter>
    </Visibility>
	</PartInfo>

  <!-- end Retardant Dump Door Custom Code -->
  
  <!-- Warning 3D Lights On Custom Code -->
	<PartInfo>
    <Name>light_gearred_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:GEAR LEFT POSITION, percent) 0 &gt; (A:GEAR LEFT POSITION, percent) 100 &lt; &amp;
        </Code>
      </Parameter>
    </Visibility>
	</PartInfo>
	
  
  	<PartInfo>
    <Name>light_test_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (L:switch_lights_test, bool)  if{ 1 } els{ 0 }
        </Code>
      </Parameter>
    </Visibility>
	</PartInfo>	
	  
  	<PartInfo>
    <Name>light_firetest_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (L:firetest, bool)  if{ 1 } els{ 0 }
        </Code>
      </Parameter>
    </Visibility>
	</PartInfo>	
	
  
  	<PartInfo>
    <Name>light_genredl_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
		  (A:GENERAL ENG1 MASTER ALTERNATOR, bool) if{ 0 } els{ 1 }
        </Code>
      </Parameter>
    </Visibility>
	</PartInfo>		
	
	  
  	<PartInfo>
    <Name>light_genredr_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
		  (A:GENERAL ENG2 MASTER ALTERNATOR, bool) if{ 0 } els{ 1 }
        </Code>
      </Parameter>
    </Visibility>
	</PartInfo>		
  
  <!-- Turn on BB Door Light if Doors Open -->
	<PartInfo>
    <Name>light_bombdoorsopen_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          (A:EXIT OPEN:1,percent) 1 &gt;
        </Code>
      </Parameter>
    </Visibility>
	</PartInfo>  
  
    <!-- Drop Tank Switch and Visibility -->
  <PartInfo>
  <Name>drop_tanks</Name> 
  <Visibility>
     <Parameter>
       <Code>(L:droptanks,bool) if{ 0 } els{ 1 }</Code> 
     </Parameter>
  </Visibility>
</PartInfo>

  
  <PartInfo>
        <Name>sw_drop_tanks</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:droptanks, bool) 50 *
        </Code>
      <Lag>400</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Drop Ext Tanks</TooltipText>
            <CallbackCode>
(L:droptanks, bool) ! (>L:droptanks, bool)
			</CallbackCode>
        </MouseRect>
    </PartInfo>
  
  
  <!-- MALLARD TP CUSTOM CODE: new animations -->
	  
	<!-- custom animations for Mallard TP Switches Pairs for Lighting -->

<!-- Generator  1 -->

<PartInfo>
<Name>vis_sw_genoff0</Name>
  <Visibility>
     <Parameter>
        <Code>
   (A:GENERAL ENG GENERATOR SWITCH:1, bool) 0 ==
        </Code>
     </Parameter>

  </Visibility>
<AnimLength>50</AnimLength>
<Animation>
  <Parameter>
        <Code>
   (A:GENERAL ENG GENERATOR SWITCH:1, bool) if{ 50 } els{ 0 } 
        </Code>
   <Lag>400</Lag>
  </Parameter>
</Animation>
<MouseRect>
	<Cursor>Hand</Cursor>
	  <TooltipID>TOOLTIPTEXT_ENG1_GENERATOR_SWITCH</TooltipID>
	  <EventID>TOGGLE_ALTERNATOR1</EventID>
</MouseRect>
</PartInfo>
 
<PartInfo>
<Name>vis_sw_genon0</Name>
  <Visibility>
     <Parameter>
        <Code>
   (A:GENERAL ENG GENERATOR SWITCH:1, bool) 1 ==
        </Code>
     </Parameter>

  </Visibility>
<AnimLength>50</AnimLength>
<Animation>
  <Parameter>
        <Code>
   (A:GENERAL ENG GENERATOR SWITCH:1, bool) if{ 50 } els{ 0 } 
        </Code>
   <Lag>400</Lag>
  </Parameter>
</Animation>
<MouseRect>
	<Cursor>Hand</Cursor>
	<TooltipID>TOOLTIPTEXT_ENG1_GENERATOR_SWITCH</TooltipID>
	<EventID>TOGGLE_ALTERNATOR1</EventID>
</MouseRect>
</PartInfo>


<!-- Generator  2 -->

<PartInfo>
<Name>vis_sw_genoff1</Name>
  <Visibility>
     <Parameter>
        <Code>
   (A:GENERAL ENG GENERATOR SWITCH:2, bool) 0 ==
        </Code>
     </Parameter>

  </Visibility>
<AnimLength>50</AnimLength>
<Animation>
  <Parameter>
        <Code>
   (A:GENERAL ENG GENERATOR SWITCH:2, bool) if{ 50 } els{ 0 } 
        </Code>
   <Lag>400</Lag>
  </Parameter>
</Animation>
<MouseRect>
	<Cursor>Hand</Cursor>
	  <TooltipID>TOOLTIPTEXT_ENG2_GENERATOR_SWITCH</TooltipID>
	  <EventID>TOGGLE_ALTERNATOR2</EventID>
</MouseRect>
</PartInfo>
 
<PartInfo>
<Name>vis_sw_genon1</Name>
  <Visibility>
     <Parameter>
        <Code>
   (A:GENERAL ENG GENERATOR SWITCH:2, bool) 1 ==
        </Code>
     </Parameter>

  </Visibility>
<AnimLength>50</AnimLength>
<Animation>
  <Parameter>
        <Code>
   (A:GENERAL ENG GENERATOR SWITCH:2, bool) if{ 50 } els{ 0 } 
        </Code>
   <Lag>400</Lag>
  </Parameter>
</Animation>
<MouseRect>
	<Cursor>Hand</Cursor>
	  <TooltipID>TOOLTIPTEXT_ENG2_GENERATOR_SWITCH</TooltipID>
	  <EventID>TOGGLE_ALTERNATOR2</EventID>
</MouseRect>
</PartInfo>

<!-- Master Battery -->

<PartInfo>
	<Name>vis_sw_master_bat_off</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:ELECTRICAL MASTER BATTERY, bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
	<AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
			   (A:ELECTRICAL MASTER BATTERY, bool) if{ 50 } els{ 0 } 
        			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_BATTERY_SWITCH</HelpID>
		<TooltipID>TOOLTIPTEXT_BATTERY_SWITCH</TooltipID>
		<EventID>TOGGLE_MASTER_BATTERY</EventID>
	</MouseRect>
</PartInfo>

<PartInfo>
	<Name>vis_sw_master_bat_on</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:ELECTRICAL MASTER BATTERY, bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
	<AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
			   (A:ELECTRICAL MASTER BATTERY, bool) if{ 50 } els{ 0 } 
        			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_BATTERY_SWITCH</HelpID>
		<TooltipID>TOOLTIPTEXT_BATTERY_SWITCH</TooltipID>
		<EventID>TOGGLE_MASTER_BATTERY</EventID>
	</MouseRect>
</PartInfo>

<!-- Avionics Switch -->

<PartInfo>
	<Name>vis_Sw_Avionics_MstrOff</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:AVIONICS MASTER SWITCH, bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
	<AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
			   (A:AVIONICS MASTER SWITCH, bool) if{ 50 } els{ 0 } 
        			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_AVIONICS_SWITCH</HelpID>
		<TooltipID>TOOLTIPTEXT_AVIONICS_SWITCH</TooltipID>
		<EventID>TOGGLE_AVIONICS_MASTER</EventID>
	</MouseRect>
</PartInfo>

<PartInfo>
	<Name>vis_Sw_Avionics_MstrOn</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:AVIONICS MASTER SWITCH, bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
	<AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
			   (A:AVIONICS MASTER SWITCH, bool) if{ 50 } els{ 0 } 
        			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_AVIONICS_SWITCH</HelpID>
		<TooltipID>TOOLTIPTEXT_AVIONICS_SWITCH</TooltipID>
		<EventID>TOGGLE_AVIONICS_MASTER</EventID>
	</MouseRect>
</PartInfo>

<!-- GPS NAV Switch -->

<PartInfo>
	<Name>vis_sw_NAV_GPSoff</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:GPS DRIVES NAV1, bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
	<AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
			   (A:GPS DRIVES NAV1, bool) if{ 50 } els{ 0 } 
        	</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_NAV_GPS_SWITCH</HelpID>
		<TooltipID>TOOLTIPTEXT_NAV_GPS_SWITCH</TooltipID>
		<EventID>TOGGLE_GPS_DRIVES_NAV1</EventID>
	</MouseRect>
</PartInfo>

<PartInfo>
	<Name>vis_sw_NAV_GPSon</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:GPS DRIVES NAV1, bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
	<AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
			   (A:GPS DRIVES NAV1, bool) if{ 50 } els{ 0 } 
        	</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_NAV_GPS_SWITCH</HelpID>
		<TooltipID>TOOLTIPTEXT_NAV_GPS_SWITCH</TooltipID>
		<EventID>TOGGLE_GPS_DRIVES_NAV1</EventID>
	</MouseRect>
</PartInfo>

<!-- AutoFeather Switch -->

<PartInfo>
	<Name>vis_switch_autofeatheroff</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:PANEL AUTO FEATHER SWITCH, bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
			   (A:PANEL AUTO FEATHER SWITCH, bool) if{ 50 } els{ 0 } 
        	</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<TooltipID>TOOLTIPTEXT_AUTOFEATHER_SWITCH</TooltipID>
		<EventID>TOGGLE_AUTOFEATHER_ARM</EventID>
	</MouseRect>
</PartInfo>
<PartInfo>
	<Name>vis_switch_autofeatheron</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:PANEL AUTO FEATHER SWITCH, bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
			   (A:PANEL AUTO FEATHER SWITCH, bool) if{ 50 } els{ 0 } 
        	</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<TooltipID>TOOLTIPTEXT_AUTOFEATHER_SWITCH</TooltipID>
		<EventID>TOGGLE_AUTOFEATHER_ARM</EventID>
	</MouseRect>
</PartInfo>

<!-- Starter Switch 0 -->

<PartInfo>
    <Name>vis_sw_starteroff0</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:GENERAL ENG STARTER:1, bool) 0 == (L:Mallard_Start_Logic_L, number) 0 == and
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
			   (A:GENERAL ENG STARTER:1, bool) if{ 50 } els{ 0 } 
        	</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
    <MouseRect>
        <Cursor>Hand</Cursor>
        <HelpID>HELPID_GAUGE_STARTER_SWITCH</HelpID>
        <TooltipID>TOOLTIPTEXT_STARTER_SWITCH</TooltipID>
        <CallbackCode>(>K:TOGGLE_STARTER1) 540 (>L:Mallard_Start_Logic_L, number)</CallbackCode>
    </MouseRect>
</PartInfo>

<PartInfo>
    <Name>vis_sw_starteron0</Name>
  	<Visibility>
    	<Parameter>
			<Code>
   		(A:GENERAL ENG STARTER:1, bool) (L:Mallard_Start_Logic_L, number) 0 != ||
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
			   (A:GENERAL ENG STARTER:1, bool) (L:Mallard_Start_Logic_L, number) 0 != || if{ 50 } els{ 0 } 
        	</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
    <MouseRect>
        <Cursor>Hand</Cursor>
        <HelpID>HELPID_GAUGE_STARTER_SWITCH</HelpID>
        <TooltipID>TOOLTIPTEXT_STARTER_SWITCH</TooltipID>
        <CallbackCode>(>K:TOGGLE_STARTER1) 0 (>L:Mallard_Start_Logic_L, number)</CallbackCode>
    </MouseRect>
</PartInfo>

<!-- Starter Switch 1 -->

<PartInfo>
    <Name>vis_sw_starteroff1</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:GENERAL ENG STARTER:2, bool) 0 == (L:Mallard_Start_Logic_R, number) 0 == and
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
			   (A:GENERAL ENG STARTER:2, bool) if{ 50 } els{ 0 } 
        			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
    <MouseRect>
        <Cursor>Hand</Cursor>
        <HelpID>HELPID_GAUGE_STARTER_SWITCH</HelpID>
        <TooltipID>TOOLTIPTEXT_STARTER_SWITCH</TooltipID>
        <CallbackCode>(>K:TOGGLE_STARTER2) 540 (>L:Mallard_Start_Logic_R, number)</CallbackCode>
    </MouseRect>
</PartInfo>

<PartInfo>
    <Name>vis_sw_starteron1</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:GENERAL ENG STARTER:2, bool) (L:Mallard_Start_Logic_R, number) 0 != ||
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
			   (A:GENERAL ENG STARTER:2, bool) (L:Mallard_Start_Logic_R, number) 0 != || if{ 50 } els{ 0 } 
        	</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
    <MouseRect>
        <Cursor>Hand</Cursor>
        <HelpID>HELPID_GAUGE_STARTER_SWITCH</HelpID>
        <TooltipID>TOOLTIPTEXT_STARTER_SWITCH</TooltipID>
        <CallbackCode>(>K:TOGGLE_STARTER2) 0 (>L:Mallard_Start_Logic_R, number)</CallbackCode>
    </MouseRect>
</PartInfo>

<!-- Fuel Pump 0 -->

<PartInfo>
	<Name>vis_sw_fuel_pumpoff0</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:GENERAL ENG FUEL PUMP SWITCH:1,bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:GENERAL ENG FUEL PUMP SWITCH:1,bool) if{ 50 } els{ 0 } 
        	</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_SWITCH_FUEL_PUMP</HelpID>
		<TooltipID>TOOLTIPTEXT_FUEL_PUMP</TooltipID>
		<EventID>TOGGLE_ELECT_FUEL_PUMP1</EventID>
	</MouseRect>
</PartInfo>

<PartInfo>
	<Name>vis_sw_fuel_pumpon0</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:GENERAL ENG FUEL PUMP SWITCH:1,bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:GENERAL ENG FUEL PUMP SWITCH:1,bool) if{ 50 } els{ 0 } 
        	</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_SWITCH_FUEL_PUMP</HelpID>
		<TooltipID>TOOLTIPTEXT_FUEL_PUMP</TooltipID>
		<EventID>TOGGLE_ELECT_FUEL_PUMP1</EventID>
	</MouseRect>
</PartInfo>

<!-- Fuel Pump 1 -->

<PartInfo>
	<Name>vis_sw_fuel_pumpoff1</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:GENERAL ENG FUEL PUMP SWITCH:2,bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:GENERAL ENG FUEL PUMP SWITCH:2,bool) if{ 50 } els{ 0 } 
        	</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_SWITCH_FUEL_PUMP</HelpID>
		<TooltipID>TOOLTIPTEXT_FUEL_PUMP</TooltipID>
		<EventID>TOGGLE_ELECT_FUEL_PUMP2</EventID>
	</MouseRect>
</PartInfo>

<PartInfo>
	<Name>vis_sw_fuel_pumpon1</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:GENERAL ENG FUEL PUMP SWITCH:2,bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:GENERAL ENG FUEL PUMP SWITCH:2,bool) if{ 50 } els{ 0 } 
        	</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_SWITCH_FUEL_PUMP</HelpID>
		<TooltipID>TOOLTIPTEXT_FUEL_PUMP</TooltipID>
		<EventID>TOGGLE_ELECT_FUEL_PUMP2</EventID>
	</MouseRect>
</PartInfo>


<!-- inertial_seperator -->
 
<PartInfo>
<Name>vis_sw_inertsepoff</Name>
   <Visibility>
     <Parameter>
          <Code>
     (A:ENG ANTI ICE:1,bool) 0 ==
          </Code>
      </Parameter>

   </Visibility>
    <AnimLength>50</AnimLength>
<Animation>
  <Parameter>
   <Code>
   (A:ENG ANTI ICE:1,bool) if{ 50 } els{ 0 } 
   </Code>
   <Lag>400</Lag>
  </Parameter>
</Animation>
<MouseRect>
  <Cursor>Hand</Cursor>
  <TooltipID>TOOLTIPTEXT_INERTIAL_SEPERATOR</TooltipID>
  <CallbackCode>(>K:ANTI_ICE_TOGGLE_ENG1) (>K:ANTI_ICE_TOGGLE_ENG2)</CallbackCode>
</MouseRect>
</PartInfo>
 
<PartInfo>
<Name>vis_sw_inertsepon</Name>
   <Visibility>
     <Parameter>
          <Code>
     (A:ENG ANTI ICE:1,bool) 1 ==
          </Code>
      </Parameter>

   </Visibility>
    <AnimLength>50</AnimLength>
<Animation>
  <Parameter>
   <Code> 
   (A:ENG ANTI ICE:1,bool) if{ 50 } els{ 0 } 
   </Code>
   <Lag>400</Lag>
  </Parameter>
</Animation>
<MouseRect>
  <Cursor>Hand</Cursor>
  <TooltipID>TOOLTIPTEXT_INERTIAL_SEPERATOR</TooltipID>
  <CallbackCode>(>K:ANTI_ICE_TOGGLE_ENG1) (>K:ANTI_ICE_TOGGLE_ENG2)</CallbackCode>
</MouseRect>
</PartInfo>




<!-- Pitot Heat Switch -->

<PartInfo>
	<Name>vis_sw_pitot_heatoff</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:PITOT HEAT,bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:PITOT HEAT,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_PITOT_HEAT_SWITCH</HelpID>
		<TooltipID>TOOLTIPTEXT_PITOT_HEAT_SWITCH</TooltipID>
		<EventID>PITOT_HEAT_TOGGLE</EventID>
	</MouseRect>
</PartInfo>

<PartInfo>
	<Name>vis_sw_pitot_heaton</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:PITOT HEAT,bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:PITOT HEAT,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_PITOT_HEAT_SWITCH</HelpID>
		<TooltipID>TOOLTIPTEXT_PITOT_HEAT_SWITCH</TooltipID>
		<EventID>PITOT_HEAT_TOGGLE</EventID>
	</MouseRect>
</PartInfo>

<!-- Anti Ice Structure Switch -->

<PartInfo>
	<Name>vis_sw_antiice_structoff</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:STRUCTURAL DEICE SWITCH,bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:STRUCTURAL DEICE SWITCH,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_DEICE_SWITCH</HelpID>
		<TooltipID>TOOLTIPTEXT_DEICE_SWITCH</TooltipID>
		<EventID>TOGGLE_STRUCTURAL_DEICE</EventID>
	</MouseRect>
</PartInfo>

<PartInfo>
	<Name>vis_sw_antiice_structon</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:STRUCTURAL DEICE SWITCH,bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:STRUCTURAL DEICE SWITCH,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_DEICE_SWITCH</HelpID>
		<TooltipID>TOOLTIPTEXT_DEICE_SWITCH</TooltipID>
		<EventID>TOGGLE_STRUCTURAL_DEICE</EventID>
	</MouseRect>
</PartInfo>

<!-- Prop De-Ice Switch -->

<PartInfo>
	<Name>vis_sw_antiicepropoff</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:PROP DEICE SWITCH,bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:PROP DEICE SWITCH,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_MOONEY_PROP_DEICE</HelpID>
		<TooltipID>TOOLTIPTEXT_PROP_DEICE_SWITCH</TooltipID>
		<EventID>TOGGLE_PROPELLER_DEICE</EventID>
	</MouseRect>
</PartInfo>

<PartInfo>
	<Name>vis_sw_antiicepropon</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:PROP DEICE SWITCH,bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:PROP DEICE SWITCH,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_MOONEY_PROP_DEICE</HelpID>
		<TooltipID>TOOLTIPTEXT_PROP_DEICE_SWITCH</TooltipID>
		<EventID>TOGGLE_PROPELLER_DEICE</EventID>
	</MouseRect>
</PartInfo>


<!-- Cabin Lights Switch -->
<PartInfo>
	<Name>vis_sw_cabin_lightoff</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:LIGHT CABIN,bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:LIGHT CABIN,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<EventID>TOGGLE_CABIN_LIGHTS</EventID>
	</MouseRect>
</PartInfo>

<PartInfo>
	<Name>vis_sw_cabin_lighton</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:LIGHT CABIN,bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:LIGHT CABIN,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<EventID>TOGGLE_CABIN_LIGHTS</EventID>
	</MouseRect>
</PartInfo>


<!-- Panel Lights Switch -->

<PartInfo>
	<Name>vis_sw_panel_lightoff</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:LIGHT PANEL,bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:LIGHT PANEL,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_LIGHT_SWITCH_PANEL</HelpID>
		<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_PANEL</TooltipID>
		<CallbackCode>(&gt;K:PANEL_LIGHTS_TOGGLE)</CallbackCode>
	</MouseRect>
</PartInfo>

<PartInfo>
	<Name>vis_sw_panel_lighton</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:LIGHT PANEL,bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:LIGHT PANEL,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_LIGHT_SWITCH_PANEL</HelpID>
		<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_PANEL</TooltipID>
		<CallbackCode>(&gt;K:PANEL_LIGHTS_TOGGLE)</CallbackCode>
	</MouseRect>
</PartInfo>

<!-- Recognition Lights Switch -->

<PartInfo>
    <Name>vis_sw_recog_lightoff</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:LIGHT RECOGNITION,bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:LIGHT RECOGNITION,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_LIGHT_SWITCH_RECOGNITION</HelpID>
		<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_RECOGNITION</TooltipID>
		<EventID>TOGGLE_RECOGNITION_LIGHTS</EventID>
	</MouseRect>
</PartInfo>

<PartInfo>
    <Name>vis_sw_recog_lighton</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:LIGHT RECOGNITION,bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:LIGHT RECOGNITION,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_LIGHT_SWITCH_RECOGNITION</HelpID>
		<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_RECOGNITION</TooltipID>
		<EventID>TOGGLE_RECOGNITION_LIGHTS</EventID>
	</MouseRect>
</PartInfo>


<!-- Landing Lights Switch -->

<PartInfo>
	<Name>vis_sw_landing_lightoff</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:LIGHT LANDING,bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:LIGHT LANDING,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_LIGHT_SWITCH_LANDING</HelpID>
		<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_LANDING</TooltipID>
		<EventID>LANDING_LIGHTS_TOGGLE</EventID>
	</MouseRect>
</PartInfo>

<PartInfo>
	<Name>vis_sw_landing_lighton</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:LIGHT LANDING,bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:LIGHT LANDING,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_LIGHT_SWITCH_LANDING</HelpID>
		<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_LANDING</TooltipID>
		<EventID>LANDING_LIGHTS_TOGGLE</EventID>
	</MouseRect>
</PartInfo>

<!-- Beacon Light Switch -->

<PartInfo>
	<Name>vis_sw_beacon_lightoff</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:LIGHT BEACON,bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:LIGHT BEACON,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_LIGHT_SWITCH_BEACON</HelpID>
		<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_BEACON</TooltipID>
		<EventID>TOGGLE_BEACON_LIGHTS</EventID>
	</MouseRect>
</PartInfo>

<PartInfo>
	<Name>vis_sw_beacon_lighton</Name>
  	<Visibility>
    	<Parameter>
        	<Code>
   		(A:LIGHT BEACON,bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:LIGHT BEACON,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_LIGHT_SWITCH_BEACON</HelpID>
		<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_BEACON</TooltipID>
		<EventID>TOGGLE_BEACON_LIGHTS</EventID>
	</MouseRect>
</PartInfo>

<!-- NAV Light Switch -->

<PartInfo>
	<Name>vis_sw_nav_lightoff</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:LIGHT NAV,bool) 0 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:LIGHT NAV,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_LIGHT_SWITCH_NAV</HelpID>
		<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_NAV</TooltipID>
		<EventID>TOGGLE_NAV_LIGHTS</EventID>
	</MouseRect>
</PartInfo>

<PartInfo>
	<Name>vis_sw_nav_lighton</Name>
  	<Visibility>
    	<Parameter>
        		<Code>
   		(A:LIGHT NAV,bool) 1 ==
       	 	</Code>
    	 </Parameter>

 	 </Visibility>
    <AnimLength>50</AnimLength>
	<Animation>
		<Parameter>
			<Code>
				(A:LIGHT NAV,bool) if{ 50 } els{ 0 }
			</Code>
			<Lag>400</Lag>
		</Parameter>
	</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_LIGHT_SWITCH_NAV</HelpID>
		<TooltipID>TOOLTIPTEXT_LIGHT_SWITCH_NAV</TooltipID>
		<EventID>TOGGLE_NAV_LIGHTS</EventID>
	</MouseRect>
</PartInfo>

<!-- TANK ENUMS, 0 = Off, 1 = All, 2 = Left, 3 = Right -->
<!-- LEFT SELECTOR, Keyframes, 0 = OFF, 25 = LEFT TANK, 50 = RIGHT TANK -->

<PartInfo>
	<Name>lever_fuel_selector_OLR</Name>
	    <AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
					2 1 1 0 4 (A:FUEL TANK SELECTOR 1, enum) case 25 *
				</Code>
			<Lag>100</Lag>
			</Parameter>
		</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_FUEL_SELECTOR</HelpID>
		<TooltipID>TOOLTIPTEXT_LEFT_FUEL_SELECTOR</TooltipID>
		<MouseFlags>LeftSingle+LeftDrag+Wheel</MouseFlags>
			<CallbackCode>
				(M:Event) 'LeftSingle' scmp 0 == if{ (M:X) (&gt;L:Left_Sel_Pos, number) 2 1 1 0 4 (A:FUEL TANK SELECTOR 1, enum) case (&gt;L:Left_Sel_Tnk, number) } els{ (M:X) (L:Left_Sel_Pos, number) - 80 / int (L:Left_Sel_Tnk, number) + 0 max 2 min s0 2 1 1 0 4 (A:FUEL TANK SELECTOR 1, enum) case != if{ l0 0 == if{ (&gt;K:FUEL_SELECTOR_OFF) } l0 1 == if{ (&gt;K:FUEL_SELECTOR_LEFT) } l0 2 == if{ (&gt;K:FUEL_SELECTOR_RIGHT) } } }
			</CallbackCode>
		</MouseRect>
</PartInfo>


<!-- RIGHT SELECTOR, Keyframes, 50 = OFF, 25 = RIGHT TANK, 0 = LEFT TANK -->
<PartInfo>
	<Name>lever_fuel_selector_LRO</Name>
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
				<Code>
					1 0 1 2 4 (A:FUEL TANK SELECTOR:2, enum) case 25 *
				</Code>
			<Lag>100</Lag>
			</Parameter>
		</Animation>
	<MouseRect>
		<Cursor>Hand</Cursor>
		<HelpID>HELPID_GAUGE_FUEL_SELECTOR</HelpID>
		<TooltipID>TOOLTIPTEXT_RIGHT_FUEL_SELECTOR</TooltipID>
		<MouseFlags>LeftSingle+LeftDrag+Wheel</MouseFlags>
			<CallbackCode>
				(M:Event) 'LeftSingle' scmp 0 == if{ (M:X) (&gt;L:Right_Sel_Pos, number) 1 0 1 2 4 (A:FUEL TANK SELECTOR 2, enum) case (&gt;L:Right_Sel_Tnk, number) } els{ (M:X) (L:Right_Sel_Pos, number) - 80 / int (L:Right_Sel_Tnk, number) + 0 max 2 min s0 1 0 1 2 4 (A:FUEL TANK SELECTOR 2, enum) case != if{ l0 0 == if{ (&gt;K:FUEL_SELECTOR_2_LEFT) } l0 1 == if{ (&gt;K:FUEL_SELECTOR_2_RIGHT) } l0 2 == if{ (&gt;K:FUEL_SELECTOR_2_OFF) } } }
			</CallbackCode>
	</MouseRect>
</PartInfo>

<!-- 100 Keyframes -->
<!-- apply to prop0_still blades -->

<PartInfo>
<Name>AutoFeathr_PropPitch0</Name>
	<AnimLength>100</AnimLength>
	<Animation>
		<Parameter>
			<Code>
			(L:PROP1_LOGIC, number) 
			</Code>
		<Lag>100</Lag>
		</Parameter>
	</Animation>
</PartInfo>


<!-- apply to prop1_still blades -->

<PartInfo>
<Name>AutoFeathr_PropPitch1</Name>
	<AnimLength>100</AnimLength>
	<Animation>
		<Parameter>
			<Code>
			(L:PROP2_LOGIC, number) 
			</Code>
		<Lag>100</Lag>
		</Parameter>
	</Animation>
</PartInfo>

<!-- END custom animations for Mallard TP Switches Pairs for Lighting and Props -->
  
  <!-- Visibility Code for Stairs, Chocks, Supports, Battery off -->
<PartInfo>
<Name>chalk_vis</Name>
 <Visibility>
	<Parameter>
		<Code>(A:ELECTRICAL MASTER BATTERY, bool) 0 == (A:SIM ON GROUND, bool) 1 == (A:BRAKE PARKING POSITION, percent) 50 &gt; (A:SURFACE TYPE, enum) 2 != and and and 
		</Code>
	</Parameter>
            <MinValue>1</MinValue>
 </Visibility>
</PartInfo>
  
<!-- Switch Guards Open / Close -->

  <PartInfo>
    <Name>switch_guard_arm_master</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:switch_guard_arm_master,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	              <TooltipText>Armament Master Switch</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:switch_guard_arm_master) ! (&gt;L:switch_guard_arm_master)
      </CallbackCode>
    </MouseRect>
  </PartInfo>


  <PartInfo>
    <Name>switch_guard_lower_nose</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:switch_guard_lower_nose,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	  	              <TooltipText>Activate Lower Nose Guns</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:switch_guard_lower_nose) ! (&gt;L:switch_guard_lower_nose)
      </CallbackCode>
    </MouseRect>
  </PartInfo>

  <PartInfo>
    <Name>switch_guard_upper_nose</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:switch_guard_upper_nose,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	  	              <TooltipText>Activate Upper Nose Guns</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:switch_guard_upper_nose) ! (&gt;L:switch_guard_upper_nose)
      </CallbackCode>
    </MouseRect>
  </PartInfo>

  
  <PartInfo>
    <Name>switch_guard_wing_guns</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:switch_guard_wing_guns,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	  	              <TooltipText>Activate Wing Guns</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:switch_guard_wing_guns) ! (&gt;L:switch_guard_wing_guns)
      </CallbackCode>
    </MouseRect>
  </PartInfo>

  
  <PartInfo>
    <Name>switch_guard_turret_guns</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:switch_guard_turret_guns,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	  	              <TooltipText>Activate Turret Guns</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:switch_guard_turret_guns) ! (&gt;L:switch_guard_turret_guns)
      </CallbackCode>
    </MouseRect>
  </PartInfo>


  <PartInfo>
    <Name>switch_lowernose</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:switch_lowernose,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	  	              <TooltipText>Activate Lower Nose Guns</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:switch_lowernose) ! (&gt;L:switch_lowernose)
      </CallbackCode>
    </MouseRect>
  </PartInfo>

  <PartInfo>
    <Name>switch_uppernose</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:switch_uppernose,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	  	              <TooltipText>Activate Upper Nose Guns</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:switch_uppernose) ! (&gt;L:switch_uppernose)
      </CallbackCode>
    </MouseRect>
  </PartInfo>

  
  <PartInfo>
    <Name>switch_wingguns</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:switch_wingguns,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	  	              <TooltipText>Activate Wing Guns</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:switch_wingguns) ! (&gt;L:switch_wingguns)
      </CallbackCode>
    </MouseRect>
  </PartInfo>

  
  <PartInfo>
    <Name>switch_turretguns</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:switch_turretguns,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	  	              <TooltipText>Activate Turret Guns</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:switch_turretguns) ! (&gt;L:switch_turretguns)
      </CallbackCode>
    </MouseRect>
  </PartInfo>
  
    
  <PartInfo>
    <Name>switch_arm_master</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:switch_armmaster,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	  	              <TooltipText>Armament Master Switch</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:switch_armmaster) ! (&gt;L:switch_armmaster)
      </CallbackCode>
    </MouseRect>
  </PartInfo>
  
  <PartInfo>
    <Name>switch_guard_gen_field1</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:switch_guard_gen_field1,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	  	              <TooltipText>Switch gen Field 1 (NoOp)</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:switch_guard_gen_field1) ! (&gt;L:switch_guard_gen_field1)
      </CallbackCode>
    </MouseRect>
  </PartInfo>

    <PartInfo>
    <Name>switch_guard_gen_field2</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:switch_guard_gen_field2,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	  	              <TooltipText>Switch Gen Field 2 (NoOp)</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:switch_guard_gen_field2) ! (&gt;L:switch_guard_gen_field2)
      </CallbackCode>
    </MouseRect>
  </PartInfo>
  
  <!-- Activate Gun Camera -->
  <PartInfo>
    <Name>switch_gun_camera</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:switch_gun_camera,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	  <TooltipText>Activate Gun Camera</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:switch_gun_camera) ! (&gt;L:switch_gun_camera)
      </CallbackCode>
    </MouseRect>
  </PartInfo>

   <!-- Turn on Light if Gun Camera is on -->
	<PartInfo>
    <Name>light_gun_camera_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
          	(L:switch_gun_camera,number) if{ 50 } els{ 0 }
        </Code>
      </Parameter>
    </Visibility>
	</PartInfo>  
  
  <!-- Activate Flare Release -->      
  <PartInfo>
    <Name>switch_flare_release</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:switch_flare_release,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	  <TooltipText>Flare Release Switch</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:switch_flare_release) ! (&gt;L:switch_flare_release)
      </CallbackCode>
    </MouseRect>
  </PartInfo>
  
   <!-- Turn on Light if Flares Released -->

	<PartInfo>
    <Name>light_flare_release_vis</Name>
    <Visibility>
      <Parameter>
        <Code>
		  (L:switch_flare_release,number) if{ 50 } els{ 0 }
        </Code>
      </Parameter>
    </Visibility>
	</PartInfo>  
  
  
    <!-- Drop Tank Switch and Visibility -->
  <PartInfo>
  <Name>drop_tanks</Name> 
  <Visibility>
     <Parameter>
       <Code>(L:droptanks,bool) if{ 0 } els{ 1 }</Code> 
     </Parameter>
  </Visibility>
</PartInfo>

  <!-- Gyro Pilot - Ailerons Elevator Rudder -->
	<!-- 50 Keyframes, 0 = Lever Down -->

	<PartInfo>
		<Name>lever_gyro_aileron</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
       			 <Code>
				(L:gyroaileron, bool) 50 *
        			</Code>
			<lag>50</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Gyro Pilot Ailerons</TooltipText>
			<CallbackCode>
				(L:gyroaileron, bool) ! (>L:gyroaileron, bool)
			</CallbackCode>
		</MouseRect>
	</PartInfo>

	<PartInfo>
		<Name>lever_gyro_elevator</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
       			 <Code>
				(L:gyroelevator, bool) 50 *
        			</Code>
			<lag>50</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Gyro Pilot Elevator</TooltipText>
			<CallbackCode>
				(L:gyroelevator, bool) ! (>L:gyroelevator, bool)
			</CallbackCode>
		</MouseRect>
	</PartInfo>

	<PartInfo>
		<Name>lever_gyro_rudder</Name> 
		<AnimLength>50</AnimLength>
		<Animation>
			<Parameter>
       			 <Code>
				(L:gyrorudder, bool) 50 *
        			</Code>
			<lag>50</lag> 
			</Parameter>
		</Animation>
		<MouseRect>
			<MouseFlags>LeftSingle</MouseFlags>
			<Cursor>Hand</Cursor>
			<TooltipText>Gyro Pilot Rudder</TooltipText>
			<CallbackCode>
				(L:gyrorudder, bool) ! (>L:gyrorudder, bool)
			</CallbackCode>
		</MouseRect>
	</PartInfo>
	

  <!-- Bombs Selector Switches and Lights 1-6 -->      

  <PartInfo>
    <Name>switch_bomb1</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:sw_bomb1,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	<TooltipText>Bomb Pos 1 Hold/Release (NoOp)</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:sw_bomb1) ! (&gt;L:sw_bomb1)
      </CallbackCode>
    </MouseRect>
  </PartInfo>
  
  <PartInfo>
    <Name>switch_bomb2</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:sw_bomb2,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	<TooltipText>Bomb Pos 2 Hold/Release (NoOp)</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:sw_bomb2) ! (&gt;L:sw_bomb2)
      </CallbackCode>
    </MouseRect>
  </PartInfo>
  
    <PartInfo>
    <Name>switch_bomb3</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:sw_bomb3,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	<TooltipText>Bomb Pos 3 Hold/Release (NoOp)</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:sw_bomb3) ! (&gt;L:sw_bomb3)
      </CallbackCode>
    </MouseRect>
  </PartInfo>
  
  <PartInfo>
    <Name>switch_bomb4</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:sw_bomb4,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	<TooltipText>Bomb Pos 4 Hold/Release (NoOp)</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:sw_bomb4) ! (&gt;L:sw_bomb4)
      </CallbackCode>
    </MouseRect>
  </PartInfo>
  
  <PartInfo>
    <Name>switch_bomb5</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:sw_bomb5,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	<TooltipText>Bomb Pos 5 Hold/Release (NoOp)</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:sw_bomb5) ! (&gt;L:sw_bomb5)
      </CallbackCode>
    </MouseRect>
  </PartInfo>
  
  <PartInfo>
    <Name>switch_bomb6</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:sw_bomb6,number) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <Cursor>Hand</Cursor>
	<TooltipText>Bomb Pos 6 Hold/Release (NoOp)</TooltipText>
      <MouseFlags>LeftSingle</MouseFlags>
      <CallbackCode>
        (L:sw_bomb6) ! (&gt;L:sw_bomb6)
      </CallbackCode>
    </MouseRect>
  </PartInfo>
  
  <!-- Animate Taxi Light Deployment -->   

    <PartInfo>
        <Name>taxi_light</Name>
        <AnimLength>100</AnimLength>
        <Animation>
            <Parameter>
                <Code>
                (A:ELECTRICAL MAIN BUS VOLTAGE, volts) 0 &gt; if{
                (A:LIGHT STATES, flags) 8 &amp; 0 ==
                if{ 0 } els{ 100 }
                d (&gt;L:LastTaxiLightPosition,percent)
                }
                els{ (L:LastTaxiLightPosition,percent) }
                </Code>
                <Lag>50</Lag>
            </Parameter>
        </Animation>
    </PartInfo>

<!-- custom anims for Harpoon Tanker Retardant Doors -->

    <PartInfo>
	<Name>f7f_dump_door1</Name>
        <AnimLength>100</AnimLength>
        <Animation>
            <Parameter>	<!-- 0=CLOSED 100=OPEN -->
                <Code>(L:Water dump open:1, percent)</Code>
            </Parameter>
        </Animation>
  </PartInfo>

    <PartInfo>
	<Name>f7f_dump_door2</Name>
        <AnimLength>100</AnimLength>
        <Animation>
            <Parameter>	<!-- 0=CLOSED 100=OPEN -->
                <Code>(L:Water dump open:2, percent)</Code>
            </Parameter>
        </Animation>
  </PartInfo>

    <PartInfo>
	<Name>f7f_dump_door3</Name>
        <AnimLength>100</AnimLength>
        <Animation>
            <Parameter>	<!-- 0=CLOSED 100=OPEN -->
                <Code>(L:Water dump open:3, percent)</Code>
            </Parameter>
        </Animation>
  </PartInfo>

    <PartInfo>
	<Name>f7f_dump_door4</Name>
        <AnimLength>100</AnimLength>
        <Animation>
            <Parameter>	<!-- 0=CLOSED 100=OPEN -->
                <Code>(L:Water dump open:4, percent)</Code>
            </Parameter>
        </Animation>
  </PartInfo>
	

 <!-- Douglas X-3 Custom Code  -->
  <!-- Custom Animations -->
 

 <!-- Fire Pull Animation and Vis On Custom Code -->
  <!-- Animated Twist 0-25 frames and Pull 26-50 frames -->

  <PartInfo>
    <Name>sw_fire_pull1</Name>    <!-- Pull switch name -->
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:FIRE PULL1,bool) 50 *
        </Code>
      <Lag>400</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Pull Eng1 Fire</TooltipText>
            	<CallbackCode>
					(L:FIRE PULL1,bool) ! (>L:FIRE PULL1,bool)
				</CallbackCode>
        </MouseRect>
	</PartInfo>

	<PartInfo>
    <Name>vis_firepull1_on</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
          (L:FIRE PULL1,bool)  if{ 1 } els{ 0 }
        </Code>
      </Parameter>
    </Visibility>
	</PartInfo>	


	<PartInfo>
    <Name>sw_fire_pull2</Name>    <!-- Pull switch name -->
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
(L:FIRE PULL2,bool) 50 *
        </Code>
      <Lag>400</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Pull Eng2 Fire</TooltipText>
            	<CallbackCode>
					(L:FIRE PULL2,bool) ! (>L:FIRE PULL2,bool)
				</CallbackCode>
        </MouseRect>
	</PartInfo>

	<PartInfo>
    <Name>vis_firepull2_on</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
          (L:FIRE PULL2,bool)  if{ 1 } els{ 0 }
        </Code>
      </Parameter>
    </Visibility>
	</PartInfo>	

  <!-- Switch Wheel Well Fire Extinguisher -->

	<PartInfo>
    <Name>switch_fire_suppression</Name>
    <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
          (L:WHEEL WELL FIRE1,bool) 50 *
        </Code>
        <Lag>400</Lag>
      </Parameter>
    </Animation>
    <MouseRect>
      <TooltipText>Discharge</TooltipText>
     <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
		(L:WHEEL WELL FIRE1,bool) ! (&gt;L:WHEEL WELL FIRE1,bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>
	
  <PartInfo>
        <Name>switch_3winverter</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
			(L:INVERTER, bool) if{ 50 } els{ 0 }
        </Code>
      <Lag>400</Lag>
      </Parameter>
    </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText>Inverter</TooltipText>
            <CallbackCode>
				(L:INVERTER, enum) ++ d 2 > if{ 0 } (>L:INVERTER, enum)
			</CallbackCode>
        </MouseRect>
    </PartInfo>	
	
  <PartInfo>
        <Name>switch_fuelqtytest</Name>
        <AnimLength>50</AnimLength>
    <Animation>
      <Parameter>
        <Code>
			(L:fuel qty test,bool) 50 *
        </Code>
      <Lag>400</Lag>
      </Parameter>
    </Animation>
		<MouseRect>
   <Cursor>Hand</Cursor>
   <TooltipText>Fuel Gauge Qty Test</TooltipText>
   <MouseFlags>LeftSingle+LeftRelease+LeftDrag</MouseFlags>
   <CallbackCode>
        (M:Event) 'LeftRelease' scmp 0 == if{ 0 (>L:fuel qty test,bool) quit }
        (M:Event) 'LeftSingle' scmp 0 == if{ 1 (>L:fuel qty test,bool) }
    </CallbackCode>
    </MouseRect>
    </PartInfo>	
	
    <PartInfo>
        <Name>switch_master_eng1</Name>
        <AnimLength>50</AnimLength>
        <Animation>
            <Parameter>
			<Code>
				(L:MASTER ENGINE 1,bool) if{ 50 } els{ 0 }
			</Code>
                <Lag>200</Lag>
            </Parameter>
        </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText> MASTER ENGINE 1 </TooltipText>
	<CallbackCode>
      		(L:MASTER ENGINE 1,bool) ! (&gt;L:MASTER ENGINE 1,bool)
	</CallbackCode>
        </MouseRect>
    </PartInfo>
	
	    <PartInfo>
        <Name>switch_master_eng2</Name>
        <AnimLength>50</AnimLength>
        <Animation>
            <Parameter>
			<Code>
				(L:MASTER ENGINE 2,bool) if{ 50 } els{ 0 }
			</Code>
                <Lag>200</Lag>
            </Parameter>
        </Animation>
        <MouseRect>
            <Cursor>Hand</Cursor>
            <TooltipText> MASTER ENGINE 2 </TooltipText>
	<CallbackCode>
      		(L:MASTER ENGINE 2,bool) ! (&gt;L:MASTER ENGINE 2,bool)
	</CallbackCode>
        </MouseRect>
    </PartInfo>

 <!-- Douglas X-3 Custom Code  -->

 <!-- Custom Visibility Code -->
 
  <!-- Turn Off Cockpit Door Light if Door Closed and PTT -->

<PartInfo>
    <Name>light_Cockpitdooropen_off</Name>    <!-- name of Off lens -->
    <Visibility>
      <Parameter>
        	<Code>
          	     (A:EXIT OPEN, bool) 0 ==  
        	</Code>
      </Parameter>
    </Visibility>
    <MouseRect>
      <TooltipText>COCKPIT DOOR OPEN PTT</TooltipText>
      <Cursor>Hand</Cursor>
		<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:EXIT OPEN TEST, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:EXIT OPEN TEST, bool) }
	</CallbackCode>
   </MouseRect>
</PartInfo>

  <!-- Turn on Cockpit Door Light if Door Open -->

<PartInfo>
    <Name>light_Cockpitdooropen_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        	<Code>
          	     (A:EXIT OPEN, bool) (L:EXIT OPEN TEST, bool) ||  
        	</Code>
      </Parameter>
    </Visibility>
    <MouseRect>
      <TooltipText>COCKPIT DOOR OPEN</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:EXIT OPEN TEST, bool) ! (&gt;L:EXIT OPEN TEST, bool)
	</CallbackCode>
   </MouseRect>
</PartInfo>
	
  <!-- Turn off Eng1 Failure Light and PTT -->
 	
 <PartInfo>
    <Name>light_eng1fail_off</Name>    <!-- name of Off lens -->
    <Visibility>
      <Parameter>
        <Code>
      (A:TURB ENG1 N2, percent) 35 &gt; (L:LEFT RED, bool) || 
		</Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>ENGINE 1 Fail PTT</TooltipText>
      <Cursor>Hand</Cursor>
		<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:LEFT RED, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:LEFT RED, bool) }
	</CallbackCode>
   </MouseRect>
 </PartInfo>

  <!-- Turn on Eng1 Failure Light -->

	<PartInfo>
    <Name>light_eng1fail_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        	<Code>
	     (A:TURB ENG1 N2, percent) 35 &lt; (L:LEFT RED, bool) ||
		   	</Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>ENGINE 1 FAIL</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:LEFT RED, bool) ! (&gt;L:LEFT RED, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>
	
	
  <!-- Turn off Eng1 Starter Active Light and PTT -->
 	
 <PartInfo>
    <Name>light_eng1starteractive_off</Name>    <!-- name of Off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(A:GENERAL ENG1 STARTER,bool) 0 ==
		</Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>ENGINE 1 STARTER PTT</TooltipText>
      <Cursor>Hand</Cursor>
		<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:LEFT GREEN, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:LEFT GREEN, bool) }
	</CallbackCode>
   </MouseRect>
 </PartInfo>
	
	

  <!-- Turn on Eng1 Starter Active Light -->

	<PartInfo>
    <Name>light_eng1starteractive_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(A:GENERAL ENG1 STARTER, bool) (A:TURB ENG1 N2, percent) 25 &lt; &amp;&amp;  (L:LEFT GREEN, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>ENGINE 1 STARTER ACTIVE</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:LEFT GREEN, bool) ! (&gt;L:LEFT GREEN, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>

  <!-- Turn off Eng2 Failure Light and PTT -->
 	
 <PartInfo>
    <Name>light_eng2fail_off</Name>    <!-- name of Off lens -->
    <Visibility>
      <Parameter>
        <Code>
      (A:TURB ENG2 N2, percent) 35 &gt; (L:RIGHT RED, bool) || 
		</Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>ENGINE 2 Fail PTT</TooltipText>
      <Cursor>Hand</Cursor>
		<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:RIGHT RED, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:RIGHT RED, bool) }
	</CallbackCode>
   </MouseRect>
 </PartInfo>
	
	
  <!-- Turn on Eng2 Failure Light -->
	<PartInfo>
    <Name>light_eng2fail_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        	<Code>
	     (A:TURB ENG2 N2, percent) 35 &lt; (L:RIGHT RED, bool) ||
        	</Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>ENGINE 2 FAIL</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:RIGHT RED, bool) ! (&gt;L:RIGHT RED, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>
	
		
  <!-- Turn off Eng2 Starter Active Light and PTT -->
 	
 <PartInfo>
    <Name>light_eng2starteractive_off</Name>    <!-- name of Off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(A:GENERAL ENG2 STARTER, bool) 0 == 
		</Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>ENGINE 2 STARTER PTT</TooltipText>
      <Cursor>Hand</Cursor>
		<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:RIGHT GREEN, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:RIGHT GREEN, bool) }
	</CallbackCode>
   </MouseRect>
 </PartInfo>
	
	


  <!-- Turn on Eng2 Starter Active Light -->

	<PartInfo>
    <Name>light_eng2starteractive_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(A:GENERAL ENG2 STARTER, bool) (A:TURB ENG2 N2, percent) 25 &lt; &amp;&amp;  (L:RIGHT GREEN, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>ENGINE 2 STARTER ACTIVE</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:RIGHT GREEN, bool) ! (&gt;L:RIGHT GREEN, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>
	

  <!-- Turn off Eng Fire Warning Light and PTT -->

	<PartInfo>
    <Name>light_engine_fire_l_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(A:ENG ON FIRE:1, Bool) 0 == 
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>ENGINE ON FIRE PTT</TooltipText>
      <Cursor>Hand</Cursor>
		<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:ENG ON FIRE TEST, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:ENG ON FIRE TEST, bool) }
	</CallbackCode>
   </MouseRect>
 </PartInfo>

  <!-- Turn on Eng Fire Warning Light -->

	<PartInfo>
    <Name>light_engine_fire_l_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(A:ENG ON FIRE:1, Bool) (L:ENG ON FIRE TEST, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>ENGINE ON FIRE</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:ENG ON FIRE TEST, bool) ! (&gt;L:ENG ON FIRE TEST, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>

  <!-- Turn on Fire Siren - Reset -->

	<PartInfo>
    <Name>light_firesirenreset_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:FIRE SIREN RESET, bool) 0 ==
        </Code>
      </Parameter>
    </Visibility>
    <MouseRect>
      <TooltipText>Fire Siren Reset and PTT</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:FIRE SIREN RESET, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:FIRE SIREN RESET, bool) }
	</CallbackCode>
	</MouseRect>
	</PartInfo>  

	<PartInfo>
    <Name>light_firesirenreset_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:FIRE SIREN RESET, bool)
        </Code>
      </Parameter>
    </Visibility>
    <MouseRect>
      <TooltipText>Fire Siren Reset</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:FIRE SIREN RESET, bool) ! (&gt;L:FIRE SIREN RESET, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>

  <!-- Turn on Wheel Well Fire Warning Light -->

  	<PartInfo>
    <Name>light_wheelwellfire_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:WHEEL WELL FIRE TEST, bool) 0 ==
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>WHEEL WELL FIRE</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:WHEEL WELL FIRE TEST, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:WHEEL WELL FIRE TEST, bool) }
	</CallbackCode>
   </MouseRect>
	</PartInfo>

	<PartInfo>
    <Name>light_wheelwellfire_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:WHEEL WELL FIRE TEST, bool) (L:WHEEL WELL FIRE TEST, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>WHEEL WELL FIRE</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:WHEEL WELL FIRE TEST, bool) ! (&gt;L:WHEEL WELL FIRE TEST, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>


  <!-- Turn on Wheel Well Fire Test Light -->

  	<PartInfo>
    <Name>lite_wheelwellfiretest_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:WHEELWELL FIRE TEST, bool) 0 ==
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>WHEEL WELL FIRE TEST</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:WHEELWELL FIRE TEST, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:WHEELWELL FIRE TEST, bool) }
	</CallbackCode>
   </MouseRect>
	</PartInfo>

	<PartInfo>
    <Name>lite_wheelwellfiretest_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:WHEELWELL FIRE TEST, bool) (L:WHEELWELL FIRE TEST, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>WHEEL WELL FIRE TEST</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:WHEELWELL FIRE TEST, bool) ! (&gt;L:WHEELWELL FIRE TEST, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>

  <!-- Turn on Emerg Fuel Pump Operating Light -->

  	<PartInfo>
    <Name>light_emergfuelpumpopr_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:FUEL PUMP TEST, bool) 0 ==
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>EMERGENCY FUEL PUMP OPERATING and PTT</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:FUEL PUMP TEST, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:FUEL PUMP TEST, bool) }
	</CallbackCode>
   </MouseRect>
	</PartInfo>

	<PartInfo>
    <Name>light_emergfuelpumpopr_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:FUEL PUMP TEST, bool) ! (L:FUEL PUMP TEST, bool)
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>EMERGENCY FUEL PUMP OPERATING</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:FUEL PUMP TEST, bool) ! (&gt;L:FUEL PUMP TEST, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>
	
  <!-- Turn on Emerg Fuel Pump AB Operating Light -->

  	<PartInfo>
    <Name>light_emergfuelpumpAB_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:FUEL PUMP AB TEST, bool) 0 ==
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>EMERGENCY FUEL PUMP AB OPERATING and PTT</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:FUEL PUMP AB TEST, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:FUEL PUMP AB TEST, bool) }
	</CallbackCode>
   </MouseRect>
	</PartInfo>

	<PartInfo>
    <Name>light_emergfuelpumpAB_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:FUEL PUMP AB TEST, bool) ! (L:FUEL PUMP AB TEST, bool)
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>EMERGENCY FUEL PUMP AB OPERATING</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:FUEL PUMP AB TEST, bool) ! (&gt;L:FUEL PUMP AB TEST, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>	
	
  <!-- Turn off Warn Eng1 Fuel Low Light and PTT -->

	<PartInfo>
    <Name>light_eng1fuellow_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
			(A:Fuel tank LEFT main level, percent) 20 &gt;  (L:CTR RED, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>LEFT FUEL TANK LOW PTT</TooltipText>
      <Cursor>Hand</Cursor>
		<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:CTR RED, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:CTR RED, bool) }
	</CallbackCode>
   </MouseRect>
 </PartInfo>
	

  <!-- Turn on Warn Eng1 Fuel Low Light -->

	<PartInfo>
    <Name>light_eng1fuellow_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(A:Fuel tank left main level, percent) 20 &lt;  (L:CTR RED, bool) || 
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>LEFT FUEL TANK LOW</TooltipText>
      <Cursor>Hand</Cursor>
	  <MouseFlags>LeftSingle</MouseFlags>
		<CallbackCode>
      		(L:CTR RED, bool) ! (&gt;L:CTR RED, bool)
		</CallbackCode>
   </MouseRect>
	</PartInfo>
	
  <!-- Turn off Warn Eng2 Fuel Low Light and PTT -->

	<PartInfo>
    <Name>light_eng2fuellow_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
			(A:Fuel tank RIGHT main level, percent) 20 &gt;  (L:CTR RED2, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>RIGHT FUEL TANK LOW PTT</TooltipText>
      <Cursor>Hand</Cursor>
		<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:CTR RED2, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:CTR RED2, bool) }
	</CallbackCode>
   </MouseRect>
 </PartInfo>


  <!-- Turn on Warn Eng2 Fuel Low Light -->

	<PartInfo>
    <Name>light_eng2fuellow_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(A:Fuel tank right main level, percent) 20 &lt;  (L:CTR RED2, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>RIGHT FUEL TANK LOW</TooltipText>
      <Cursor>Hand</Cursor>
	  	  <MouseFlags>LeftSingle</MouseFlags>
		<CallbackCode>
      		(L:CTR RED2, bool) ! (&gt;L:CTR RED2, bool)
		</CallbackCode>
   </MouseRect>
	</PartInfo>

  <!-- Turn on Warn Speed Flaps Not Full Up Light -->

  	<PartInfo>
    <Name>light_speedflapsnotup_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(A:SPOILERS HANDLE POSITION,percent) 5 &lt; (L:SPEED FLAP WARN, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>SPEED FLAPS NOT FULL UP and PTT</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:SPEED FLAP WARN, bool) }
     (M:Event) 'LeftRelease scmp 0 == if{ 0 (&gt;L:SPEED FLAP WARN, bool) }
	</CallbackCode>
   </MouseRect>
	</PartInfo>
  

	<PartInfo>
    <Name>light_speedflapsnotup_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(A:SPOILERS HANDLE POSITION,percent) 5 &gt; (L:SPEED FLAP WARN, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>SPEED FLAPS NOT FULL UP</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:SPEED FLAP WARN, bool) ! (&gt;L:SPEED FLAP WARN, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>
	
	

  <!-- Turn on Warn Inverter Failure Light -->

  	<PartInfo>
    <Name>light_invertorfailure_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:INVERTER FAIL WARN, bool) 0 ==
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>INVERTER FAILURE and PTT</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:INVERTER FAIL WARN, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:INVERTER FAIL WARN,bool, bool) }
	</CallbackCode>
   </MouseRect>
	</PartInfo>
  

	<PartInfo>
    <Name>light_invertorfailure_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:INVERTER FAIL WARN, bool)
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>INVERTER FAILURE</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:INVERTER FAIL WARN, bool) ! (&gt;L:INVERTER FAIL WARN, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>



  <!-- Turn on Warn Gen1 Light -->

  	<PartInfo>
    <Name>light_warngen1_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
			(A:GENERAL ENG GENERATOR ACTIVE:1, bool) ! (L:General eng1 gen warn test, bool) ||
        </Code>
      </Parameter>
    </Visibility>
		<MouseRect>
      <TooltipText>GEN1 FAILURE</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:General eng1 gen warn test, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:General eng1 gen warn test, bool) }
	</CallbackCode>
   </MouseRect>
	</PartInfo>
  

	<PartInfo>
    <Name>light_warngen1_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
			(A:GENERAL ENG GENERATOR ACTIVE:1, bool) ! (L:General eng1 gen warn test, bool) ||
        </Code>
      </Parameter>
    </Visibility>
		<MouseRect>
      <TooltipText>GEN1 FAILURE</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:General eng1 gen warn test,bool) ! (&gt;L:General eng1 gen warn test, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>



<!-- Turn on Warn Gen2 Light -->

  	<PartInfo>
    <Name>light_warngen2_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
			(A:GENERAL ENG GENERATOR ACTIVE:2, bool) ! (L:General eng2 gen warn test, bool) ||
        </Code>
      </Parameter>
    </Visibility>
		<MouseRect>
      <TooltipText>GEN2 FAILURE and PTT</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:General eng2 gen warn test, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:General eng2 gen warn test, bool) }
	</CallbackCode>
   </MouseRect>
	</PartInfo>
  

	<PartInfo>
    <Name>light_warngen2_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
			(A:GENERAL ENG GENERATOR ACTIVE:2, bool) ! (L:General eng2 gen warn test, bool) ||
        </Code>
      </Parameter>
    </Visibility>
		<MouseRect>
      <TooltipText>GEN2 FAILURE</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:General eng2 gen warn test, bool) ! (&gt;L:General eng2 gen warn test, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>



  <!-- Turn on Warn Landing Gear Door Not Closed Light -->
  
	<PartInfo>
    <Name>light_geardoorsnotclosed_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
		(A:Gear left position,percent) 1 &lt;  (A:Gear handle position,percent) 1 &lt; &amp;&amp;
		(A:Gear left position,percent) 1 &gt; (A:Gear handle position,percent) 99 &gt; &amp;&amp; ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>GEAR DOORS OPEN</TooltipText>
      <Cursor>Hand</Cursor>
	</MouseRect>	
	</PartInfo>

	<PartInfo>
    <Name>light_geardoorsnotclosed_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(A:Gear left position,percent) 1 &gt; (A:Gear handle position,percent) 99 &lt; &amp;&amp;
	(A:Gear ctr position,percent) 1 &gt; (A:Gear handle position,percent) 99 &lt; &amp;&amp; ||
	(A:Gear right position,percent) 1 &gt; (A:Gear handle position,percent) 99 &lt; &amp;&amp;  ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>GEAR DOORS OPEN</TooltipText>
      <Cursor>Hand</Cursor>
	</MouseRect>
	</PartInfo>


  <!-- Turn on Warn Gear in Transition Light -->

<PartInfo>
    <Name>light_geartransition_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(A:GEAR LEFT POSITION, percent) 1 &lt; (A:GEAR LEFT POSITION, percent) 99 &gt; ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>GEAR IN TRANSITION</TooltipText>
      <Cursor>Hand</Cursor>
   </MouseRect>	
</PartInfo>
	
<PartInfo>
    <Name>light_geartransition_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(A:GEAR LEFT POSITION, percent) 0 &gt; (A:GEAR LEFT POSITION, percent) 100 &lt; &amp;
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
	<TooltipText>GEAR IN TRANSITION</TooltipText>
      <Cursor>Hand</Cursor>
   </MouseRect>
</PartInfo>

   
   <!-- Turn on Warn Horn Reset -->
   

   <PartInfo>
    <Name>light_gearHORN_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:GEAR HORN TEST, bool) 0 ==
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>GEAR HORN RESET</TooltipText>
      <Cursor>Hand</Cursor>
   </MouseRect>
	</PartInfo>
   

   <PartInfo>
    <Name>light_gearHORN_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:GEAR HORN TEST,BOOL)
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>GEAR HORN RESET</TooltipText>
      <Cursor>Hand</Cursor>
   </MouseRect>
	</PartInfo>
	
   

   <PartInfo>
    <Name>light_gearHORN_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:GEAR HORN TEST,BOOL) (L:GEAR HORN TEST, BOOL) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>GEAR HORN RESET</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:GEAR HORN TEST, BOOL) ! (&gt;(L:GEAR HORN TEST, BOOL)
	</CallbackCode>
   </MouseRect>
	</PartInfo>
	
  <!-- Turn on Engine 1 Overheat Warning Light -->

  	<PartInfo>
    <Name>light_eng1OHwarn_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:eng1 overheat warn, bool) 0 ==
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>Eng1 Overheat Warning</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:eng1 overheat warn, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:eng1 overheat warn, bool) }
	</CallbackCode>
   </MouseRect>
	</PartInfo>

	<PartInfo>
    <Name>light_eng1OHwarn_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:eng1 overheat warn, bool) (L:eng1 overheat warn, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>Eng1 Overheat Warning</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:eng1 overheat warn, bool) ! (&gt;L:eng1 overheat warn, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>

  <!-- Turn on Engine 2 Overheat Warning Light -->

  	<PartInfo>
    <Name>light_eng2OHwarn_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:eng2 overheat warn, bool) 0 ==
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>Eng2 Overheat Warning</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:eng2 overheat warn, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:eng2 overheat warn, bool) }
	</CallbackCode>
   </MouseRect>
	</PartInfo>

	<PartInfo>
    <Name>light_eng2OHwarn_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:eng2 overheat warn, bool) (L:eng2 overheat warn, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>Eng2 Overheat Warning</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:eng2 overheat warn, bool) ! (&gt;L:eng2 overheat warn, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>
	

  <!-- Turn on Engine 1 Overheat Warning Test Light -->

  	<PartInfo>
    <Name>PTT_eng1_overheat_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:eng1 overheat warntest, bool) 0 ==
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>Eng1 Overheat Warning Test</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:eng1 overheat warntest, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:eng1 overheat warntest, bool) }
	</CallbackCode>
   </MouseRect>
	</PartInfo>

	<PartInfo>
    <Name>PTT_eng1_overheat_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:eng1 overheat warntest, bool) (L:eng1 overheat warntest, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>Eng1 Overheat Warning Test</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:eng1 overheat warntest, bool) ! (&gt;L:eng1 overheat warntest, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>

  <!-- Turn on Engine 2 Overheat Warning Test Light -->

  	<PartInfo>
    <Name>PTT_eng2_overheat_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:eng2 overheat warntest, bool) 0 ==
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>Eng2 Overheat Warning Test</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:eng2 overheat warntest, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:eng2 overheat warntest, bool) }
	</CallbackCode>
   </MouseRect>
	</PartInfo>

	<PartInfo>
    <Name>PTT_eng2_overheat_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:eng2 overheat warntest, bool) (L:eng2 overheat warntest, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>Eng2 Overheat Warning Test</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:eng2 overheat warntest, bool) ! (&gt;L:eng2 overheat warntest, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>

  <!-- Turn on Engine 1 Fire Warning Test Light -->

  	<PartInfo>
    <Name>PTT_eng1_firewarn_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:eng1 firewarn test, bool) 0 ==
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>Eng1 Fire Warning Test</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:eng1 firewarn test, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:eng1 firewarn test, bool) }
	</CallbackCode>
   </MouseRect>
	</PartInfo>

	<PartInfo>
    <Name>PTT_eng1_firewarn_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:eng1 firewarn test, bool) (L:eng1 firewarn test, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>Eng1 Fire Warning Test</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:eng1 firewarn test, bool) ! (&gt;L:eng1 firewarn test, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>

  <!-- Turn on Engine 2 Fire Warning Test Light -->

  	<PartInfo>
    <Name>PTT_eng2_firewarn_off</Name>    <!-- name of off lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:eng2 firewarn test, bool) 0 ==
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>Eng2 Fire Warning Test</TooltipText>
      <Cursor>Hand</Cursor>
	<MouseFlags>LeftSingle+LeftRelease</MouseFlags>
	<CallbackCode>
     (M:Event) 'LeftSingle' scmp 0 == if{ 1 (&gt;L:eng2 firewarn test, bool) }
     (M:Event) 'LeftRelease' scmp 0 == if{ 0 (&gt;L:eng2 firewarn test, bool) }
	</CallbackCode>
   </MouseRect>
	</PartInfo>

	<PartInfo>
    <Name>PTT_eng2_firewarn_vis</Name>    <!-- name of lit lens -->
    <Visibility>
      <Parameter>
        <Code>
	(L:eng2 firewarn test, bool) (L:eng2 firewarn test, bool) ||
        </Code>
      </Parameter>
    </Visibility>
	<MouseRect>
      <TooltipText>Eng2 Fire Warning Test</TooltipText>
      <Cursor>Hand</Cursor>
      <MouseFlags>LeftSingle</MouseFlags>
	<CallbackCode>
      		(L:eng2 firewarn test, bool) ! (&gt;L:eng2 firewarn test, bool)
	</CallbackCode>
   </MouseRect>
	</PartInfo>
	
	
  <!-- end Miltons Custom CODE -->
  